[Pkg-xfce-devel] Bug#765360: lightdm: Login screen should not show up as a active "session" in loginctl

Petter Reinholdtsen pere at hungry.com
Tue Oct 14 13:01:04 UTC 2014

Package: lightdm
Version: 1.10.2-2
Severity: important
User: debian-edu at lists.debian.org
Usertags: debian-edu

I discovered this in Debian Edu when checking if logind can be used as a
data source for shutdown-at-night when it try to discover if a machine
is unused or not.

The output from loginctl when using ssh to log into a machine with no
console user logged in at the moment, look like this:

       c2     116  lightdm     seat0
        2    1000  pere

Note how the lightdm login screen is counted as a active login session
on seat0.

Can lightdm be changed to not show up as a active session when the login
screen is displayed?

I suspect it is caused by the /etc/pam.d/lightdm-greeter file listing
the pam_systemd.so module as optional.  At least the problem is fixed
when removing this line.  Perhaps that line should be removed in the

Happy hacking
Petter Reinholdtsen

More information about the Pkg-xfce-devel mailing list