Bug#806758: sddm: On Login produces No Session for PID
Package: sddm
Version: 0.13.0+20151111-1
Severity: important
Tags: patch
Hi,
tried sddm with lxde, running in this bug: On Login produces No Session for PID
as described in http://ubuntuforums.org/showthread.php?t=2178645
After adding pam_systemd.so this was gone. Btw. #799837 seems to be affected to, the
described issues hit me before, but not after adding the patch.
Cheers Alf
-- System Information:
Debian Release: stretch/sid
APT prefers buildd-unstable
APT policy: (990, 'buildd-unstable'), (990, 'unstable'), (500, 'experimental'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-towo.3-siduction-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages sddm depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.58
ii libc6 2.19-22
ii libgcc1 1:5.2.1-27
ii libpam0g 1.1.8-3.1
ii libqt5core5a 5.5.1+dfsg-8
ii libqt5dbus5 5.5.1+dfsg-8
ii libqt5gui5 5.5.1+dfsg-8
ii libqt5network5 5.5.1+dfsg-8
ii libqt5qml5 5.5.1-3
ii libqt5quick5 5.5.1-3
ii libstdc++6 5.2.1-27
ii libsystemd0 228-2
ii libxcb-xkb1 1.11.1-1
ii libxcb1 1.11.1-1
ii qml-module-qtquick2 5.5.1-3
ii sddm-theme-deepspace [sddm-theme] 2015.11.24-1
ii sddm-theme-maldives [sddm-theme] 0.13.0+20151111-1
ii sddm-theme-paintitblack [sddm-theme] 2015.11.24-1
ii sddm-theme-thunderstruck [sddm-theme] 2015.11.30-1
ii sddm-theme-whiteroom [sddm-theme] 2015.11.24-1
sddm recommends no packages.
Versions of packages sddm suggests:
pn libpam-kwallet5 <none>
-- debconf information excluded
diff --git a/debian/sddm.pam b/debian/sddm.pam
index 9dfa7cf..b40c6e5 100644
--- a/debian/sddm.pam
+++ b/debian/sddm.pam
@@ -20,6 +20,7 @@ session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux
session optional pam_keyinit.so force revoke
session required pam_limits.so
session required pam_loginuid.so
+session required pam_systemd.so
@include common-session
# SELinux needs to intervene at login time to ensure that the process starts
# in the proper default security context. Only sessions which are intended
diff --git a/debian/sddm.sddm-autologin.pam b/debian/sddm.sddm-autologin.pam
index d595682..7ceebb8 100644
--- a/debian/sddm.sddm-autologin.pam
+++ b/debian/sddm.sddm-autologin.pam
@@ -14,6 +14,7 @@ session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux
session optional pam_keyinit.so force revoke
session required pam_limits.so
session required pam_loginuid.so
+session required pam_systemd.so
@include common-session
# SELinux needs to intervene at login time to ensure that the process starts
# in the proper default security context. Only sessions which are intended
diff --git a/debian/sddm.sddm-greeter.pam b/debian/sddm.sddm-greeter.pam
index 69f32a6..770fb35 100644
--- a/debian/sddm.sddm-greeter.pam
+++ b/debian/sddm.sddm-greeter.pam
@@ -12,6 +12,7 @@ session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux
session optional pam_keyinit.so force revoke
session required pam_limits.so
session required pam_loginuid.so
+session required pam_systemd.so
@include common-session
# SELinux needs to intervene at login time to ensure that the process starts
# in the proper default security context. Only sessions which are intended
Reply to: