Re: "not authorised" doing various desktoppy things [and 1 more messages]
Michael Biebl writes ("Re: "not authorised" doing various desktoppy things"):
> Check if your session is marked as active and local
> $ loginctl show-session $XDG_SESSION_ID
I see (amongst other things):
> Might be #844785
Perhaps it is. The symptoms seem similar.
Obviously it's not ideal that systemd-shim is orphaned. I would like
to fix this rather than just working around it by putting my account
in some appropriate config files.
Can anyone suggest a better strategy than a git bisect on the systemd
package source code ? I have frankly no idea what to expect from the
communication between systemd-shim and systemd-logind, or even where
to look for logs.
I found this in my .xsession-errors:
dbus-update-activation-environment: systemd --user not found, ignoring --systemd argument
And this in my Xorg.0.log:
Xorg.0.log:[ 8.993] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
I'm not sure I need "logind integration" in my X server but perhaps I
Simon McVittie writes ("Re: "not authorised" doing various desktoppy things"):
Thanks for the comprehensive explanation.
> None of this works unless you have libpam-systemd installed and enabled.
> That PAM module is somewhat mis-named: it's really for systemd-logind,
> the user/login manager, and not the systemd init/service manager.
In fact I didn't have libpam-systemd installed for some strange
reason, but installing it hasn't helped. (All the symptoms I report
above are with it installed.)
Ian Jackson <firstname.lastname@example.org> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.