--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: lightdm: greeter session support for elogind
- From: Mark Hindley <mark@hindley.org.uk>
- Date: Sun, 14 Jul 2019 12:59:32 +0100
- Message-id: <20190714115932.GR27755@hindley.org.uk>
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
1 file changed, 5 insertions(+)
debian/patches/05_debianize-pam-files.patch | 5 +++++
modified debian/patches/05_debianize-pam-files.patch
@@ -60,6 +60,11 @@
# Always let the greeter start without authentication
auth required pam_permit.so
+@@ -15,3 +16,4 @@
+ # Setup session
+ session required pam_unix.so
+ session optional pam_systemd.so
++session optional pam_elogind.so
--- a/data/pam/lightdm-autologin
+++ b/data/pam/lightdm-autologin
@@ -1,20 +1,37 @@
[back]
1 file changed, 7 insertions(+)
debian/patches/05_debianize-pam-files.patch | 7 +++++++
modified debian/patches/05_debianize-pam-files.patch
@@ -60,6 +60,13 @@
# Always let the greeter start without authentication
auth required pam_permit.so
+@@ -13,5 +14,4 @@
+ password required pam_deny.so
+
+ # Setup session
+-session required pam_unix.so
+-session optional pam_systemd.so
++@include common-session
--- a/data/pam/lightdm-autologin
+++ b/data/pam/lightdm-autologin
@@ -1,20 +1,37 @@
[back]
--- End Message ---
--- Begin Message ---
Source: lightdm
Source-Version: 1.32.0-3
Done: Yves-Alexis Perez <corsac@debian.org>
We believe that the bug you reported is fixed in the latest version of
lightdm, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 932047@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yves-Alexis Perez <corsac@debian.org> (supplier of updated lightdm package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 03 Jul 2023 22:48:54 +0200
Source: lightdm
Architecture: source
Version: 1.32.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Xfce Maintainers <debian-xfce@lists.debian.org>
Changed-By: Yves-Alexis Perez <corsac@debian.org>
Closes: 932047
Changes:
lightdm (1.32.0-3) unstable; urgency=medium
.
* d/patches/05_debianize-pam-files: include common-session for greeter
(Closes: #932047)
Checksums-Sha1:
1dd84568ee68081f346fcbe9784ea7b1f5418c4a 2496 lightdm_1.32.0-3.dsc
692a0c3efadac70ff3bddd78dae59cbc7820b085 38660 lightdm_1.32.0-3.debian.tar.xz
4380a0e98cbadee0051645742f3bc1ec689e2fc3 19794 lightdm_1.32.0-3_amd64.buildinfo
Checksums-Sha256:
126ed97d0d5e32ba3bea018e83c6a7a155e5a37a8b8bd493926589282b06f495 2496 lightdm_1.32.0-3.dsc
bc6f4121de92027a99bade218d6cb134bd70047a3efc3f00e3af70663f3a1b98 38660 lightdm_1.32.0-3.debian.tar.xz
1afa13acef4cf5f3d00f530a5da1515a08b3fe69090487b3a99b2fd0503c3650 19794 lightdm_1.32.0-3_amd64.buildinfo
Files:
36cfc3277790d2890107c5e0c241f47e 2496 x11 optional lightdm_1.32.0-3.dsc
8cbcc12444ba4564f568f529f9cdd74b 38660 x11 optional lightdm_1.32.0-3.debian.tar.xz
a65ff8ef8024fb1307acb9c4cca3d2ef 19794 x11 optional lightdm_1.32.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAmSjPRcACgkQ3rYcyPpX
RFvuaggAknILOQNWco9bEbDhSfOO+7WY7qnz1GETa2fXi5ZkZTgphSFOH23IXNSq
LBLcjGIHsHHtfGuKtYgbqduEeUku3mu5mxsGEtl6aaOA3cdVWhECmcIZz+NvkigW
OhlGsMwTPg3IRK4t/Oc587Rkz5sSyA6SZZqrxsx9vEWa09u8i2qC1sxsDPppJEul
2oF03nuEyjlbEkR/y1QBkfv+iI36vryzuJKkGt92NI9yakVZMUT/QHB8DLnu03bv
EMVq7YmYuU7kQ738IYup2t6XSkm5REhRJNOTPHyy8qYQEh8I49XM7Bbs6CO55JR/
5o2wN2NUwdSHxvEUr6JFUfOMYrS8GA==
=V7Uq
-----END PGP SIGNATURE-----
--- End Message ---