chenxiaolong / Unity-for-Arch-Extra

Extra stuff for the Unity-for-Arch project
25 stars 9 forks source link

LightDM-Ubuntu Does Not Interact Well With SystemD if Not Using Autologin #1

Closed necopinus closed 12 years ago

necopinus commented 12 years ago

DBus isn't started correctly if you're using systemd and manually logging in using lightdm-ubuntu. The problem seems to be related to /etc/pam.d/lightdm, which is lacking the session optional pam_systemd.so line contained by /etc/pam.d/lightdm-autologin. The patch below fixes the problem, allowing dbus to start up correctly:

--- lightdm.pam.old 2012-03-29 14:15:18.422453278 -0600
+++ lightdm.pam 2012-04-05 11:21:56.556346025 -0600
@@ -4,6 +4,7 @@
 auth      required   pam_unix.so
 auth      optional   pam_gnome_keyring.so
 account   required   pam_unix.so
+-session  optional   pam_systemd.so
 session   required   pam_limits.so
 session   required   pam_unix.so
 session   optional   pam_gnome_keyring.so auto_start 
chenxiaolong commented 12 years ago

Thanks! Fixed in commit: 39ad8440660e662262ef663ca6f9e57a8c165cf4