lightdm does not get a systemd session upon login

Bug #1017126 reported by graysky on 2012-06-24
This bug report is a duplicate of:  Bug #930488: Support systemd. Edit Remove
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Light Display Manager
Undecided
Unassigned

Bug Description

When I log in with lightdm using systemd on my box, I do not get a proper systemd session. The results of which have multiple breakages of programs that require a seat, for example, access to USB devices.

Example after logging it via lightdm:
$ loginctl
   SESSION UID USER SEAT

0 sessions listed.

In contrast, if I log in with gdm, I do get a proper systemd session.

Example:
$ loginctl
   SESSION UID USER SEAT
         9 1000 facade seat0

1 sessions listed.

Here is a reference describing how the display manager should work with systemd: http://www.freedesktop.org/wiki/Software/systemd/writing-display-managers

graysky (da-audiophile) wrote :

Adding the following line to /etc/pam.d/lightdm should fix this problem:

session optional pam_systemd.so

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers