[Pkg-utopia-maintainers] Bug#1076728: elogind: privileged operation with polkit fails
Andrew Bower
andrew at bower.uk
Tue Dec 17 19:15:26 GMT 2024
Mark,
On Tue, Dec 17, 2024 at 04:40:42PM +0000, Mark Hindley wrote:
> On Tue, Dec 17, 2024 at 10:53:39AM +0000, Simon McVittie wrote:
> > check that the desktop environment is actually launching a polkit agent and
> > registering it with polkitd on the D-Bus system bus.
Thanks for the extra checks! All pass as per your example.
It looks like the agent (the legacy gnome one) fails to start when
launched by the DE, as does lxagent if substituted:
Unable to determine the session we are in: No session for pid 24111
Simon,
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.
> Another helpful debugging step would be to find a desktop environment that
> definitely does have a working polkit agent when installed with systemd
> (perhaps LXDE), and try installing that same desktop environment with
> sysvinit/elogind for an apples-to-apples comparison.
Since the DM (lightdm) also doesn't offer these options perhaps we don't
need to consider differences between DEs to root casued this issue?
(Except in so far as we obviously want them to do the right thing too!)
Thanks for your detailed response!
More information about the Pkg-utopia-maintainers
mailing list