[Pkg-utopia-maintainers] Bug#1076728: elogind: privileged operation with polkit fails

Andrew Bower andrew at bower.org.uk
Tue Dec 17 20:27:27 GMT 2024


I think we've moved on now, but for completeness, Simon,

On Tue, Dec 17, 2024 at 07:15:26PM +0000, Andrew Bower wrote:
> On Tue, Dec 17, 2024 at 10:53:39AM +0000, Simon McVittie wrote:
> 
> > Is the prompt inline on the terminal, or is it a separate
> > window?
> 
> Inline in terminal.
> 
> >   pkexec --disable-internal-agent id
> 
> Yields:
>   Error executing command as another user: No authentication agent found.
> 
> > And is the UI the same for the same desktop environment installed
> > on a test system (perhaps a VM) that was booted with systemd and has a
> > working `systemd --user`?
> 
> I should say so in the case of the installation that was a late
> conversion from systemd. I'll convert it back to check.

Sorry, I answered the wrong question!

I just converted a host back to systemd and everything works as
expected. The UI for pkexec id is graphical:

root      2122  0.1  0.3  39744  6592 pts/0    Sl+  19:45   0:00 pkexec id
root      2128  0.3  0.5  23176 10496 ?        S    19:45   0:00 /usr/lib/polkit-1/polkit-agent-helper-1 ajb85

and this is the authentication agent running:

ajb85     1951  6.5  1.8 140484 37052 ?        Sl   19:44   0:05 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1

Also the DM provides the shutdown options now.

Thanks again,
Andrew



More information about the Pkg-utopia-maintainers mailing list