xfce4-screensaver unlocking fails
When trying to unlock the screen locker (xfce4-screensaver), it doesn't work, saying "Authentification failed".
I'm on postmarketOS edge (based on Alpine Linux edge) on virtual device qemu-amd64. I'm not yet sure if it is an issue in Alpine Linux or in postmarketOS.
In stable postmarketOS v23.12 (based on Alpine Linux v3.19), unlocking works. Something that confused me: When editing the repository to edge and upgrading all packages, it still works! It seems to make a difference between new installation and upgrading an existing installation.
As far as I can tell, the regression showed up somewhen between Dec 12th and Dec 22th (possibly rather towards Dec 22th).
logread | grep pam
[Dec 23 16:21:06] authpriv : pam_unix(lightdm-autologin:session): session opened for user user(uid=10000) by (uid=0)
[Dec 23 16:21:06] authpriv : gkr-pam: gnome-keyring-daemon started properly
logread -l
returns following:
locking (with lock button in whisker menu):
- no output
waking screen up:
[Dec 23 16:23:25] authpriv unix_chkpwd[2814]: check pass; user unknown
entering and hitting enter:
[Dec 23 16:23:43] authpriv unix_chkpwd[2885]: check pass; user unknown
[Dec 23 16:23:43] authpriv unix_chkpwd[2885]: password check failed for user (user)
[Dec 23 16:23:43] authpriv : pam_unix(xfce4-screensaver:auth): authentication failure; logname=user uid=10000 euid=10000 tty=:0.0 ruser= rhost= user=user
[Dec 23 16:23:43] authpriv : gkr-pam: stashed password to try later in open session
[Dec 23 16:23:43] authpriv : gkr-pam: stashed password to try later in open session
[Dec 23 16:23:45] authpriv unix_chkpwd[2887]: check pass; user unknown
after a minute of inactivity the screen blanks:
[Dec 23 16:24:47] authpriv : pam_unix(xfce4-screensaver:auth): conversation failed
[Dec 23 16:24:47] authpriv : pam_unix(xfce4-screensaver:auth): auth could not identify password for [user]
[Dec 23 16:24:47] authpriv : gkr-pam: no password is available for user
[Dec 23 16:24:47] authpriv : gkr-pam: no password is available for user
Note: I have not installed package xfce-polkit
but installing it doen't seem to make a difference on this specific issue.
Package versions:
- xfce4-session-4.18.3-r0
- xfce4-screensaver-4.18.2-r0
- linux-pam-1.5.3-r7
- gnome-keyring-42.1-r2
- elogind-252.9-r4
- polkit-elogind-123-r0
- polkit-common-123-r0
- libsecret-0.21.2-r0
- sudo-1.9.15_p4-r0
- postmarketos-base-32-r0
- postmarketos-base-ui-16-r1