Hey there, I highly agree with Mark on this suggestion, since I ran into the exact same problem after the installation of an alternative init system on Debian Bullseye via the chroot method using d-i (first sysvinit, then OpenRC). After adding the proposed line to /etc/pam.d/lightdm-greeter (and commenting out the pam_systemd one), everything worked fine.
Best regards, Fabian On Sun, 14 Jul 2019 12:59:32 +0100 Mark Hindley <m...@hindley.org.uk> wrote: > Package: lightdm > Severity: normal > Tags: patch > > Yves-Alexis, > > Many thanks for updating lightdm's dependencies to use the new logind virtual > packages in closing #922160. > > However, the necessary adjustments to the PAM configuration for lightdm-greeter > are still outstanding. > > My testing indicates that in order for lightdm greeter's Suspend, Hibernate, > Restart and Shut Down buttons to be enabled, the greeter itself needs to > register a logind session. > > For elogind based systems this could be implemented by adding > > session optional pam_elogind.so > > to /etc/pam.d/lightdm-greeter > > Or, alternatively and perhaps better for the future, whichever logind > implementation is enabled through pam-auth could be used by sourcing the PAM > common-session. > > Patches implementing both of these approaches are attached. > > Many thanks, > > Mark