You are not logged in.
Problem:
Your screen is locked and you get
Authentication initialization failed
or
Authentication password initialization failed
A quick workaround is to Ctrl-Alt-F2 to save your current running programs, login as root or your user and kill the xscreensaver process and then continue with the fix.
Fix:
if the file doesnt exist create
/etc/pam.d/xscreensaver
add
auth include system-auth
account include system-authReason:
As Xscreensaver now exclusively works with pam this is necessary.
The pam requirement is stated here Xscreensaver man page
and the required config format and options PAM config docs
Offline
Why would that file w/ that effective content not exist?
pacman -Qikk xscreensaverGenerally, and if this was actually a thing, please don't post PSAs in the forum where they get lost forever.
This kind of stuff *would* mandate a bug report or otherwise an entry in the wiki.
(But, again: the suggested pam config is part of the xscreensaver package)
Offline
This might have seemed irrelevant at that time but apparently the recent packaging of xscreensaver 6.13-1 (December 14 2025, around 1 day ago) updated that pam.d file to no longer include the "account" rule.
I could no longer unlock my session and had to kill xscreensaver from another tty.
Just to sanity check, I reviewed the previous package's solution (version 6.10-1-1 from June 2025) in the archlinux archive, that also used to include an "account" line.
auth include system-auth
account include system-authamong lots of other commented-out lines, while the current file in its entirety is:
#%PAM-1.0
auth requisite pam_nologin.so
auth include system-local-loginI'm not sure whether this is an idiosyncracy of my use (no login manager), so I'm hesitant to mark it as a bug, just apparently a non-working default for this usage.
Offline
I can confirm that replacing the contents of /etc/pam.d/xscreensaver with the snippet provided by waltibaba fixes the issue with not being able to unlock via xscreensaver-auth. (Tested with xscreensaver 6.13-1, pam 1.7.1-1, lightdm 1:1.32.0-6, xfwm4 4.20.0-2.)
I'm not sure how idiosyncratic my own set-up is here, using lightdm as a display manager with xfce, and no real Gnome/KDE services to speak of.
Offline
Somethings' fishy here.
https://gitlab.archlinux.org/archlinux/ … ote_376841
Offline
> I'm not sure how idiosyncratic my own set-up is here, using lightdm as a display manager with xfce, and no real Gnome/KDE services to speak of.
I'm running probably a similar idosyncratic setup: lxdm, xscreensaver, awesome-wm. Workaround for me is the same to kill xscreensaver.
I just downgraded to the old version, gonna test it later, when I'm on break from work in the afternoon (quite annoying that it affects my work setup).
RiP, Jeff http://www.slayer.net/at/jeff-hanneman
Offline
The problem isn't being sympathetic to idiots - there's probably some bug in the Makefile, see the arch gitlab discussion.
It's unlikely that this pam config is intended.
Offline
The problem isn't being sympathetic to idiots - there's probably some bug in the Makefile, see the arch gitlab discussion.
It's unlikely that this pam config is intended.
Que?
RiP, Jeff http://www.slayer.net/at/jeff-hanneman
Offline
The problem isn't being sympathetic to idiots
Me having fun with words.
there's probably some bug in the Makefile
should be obvious
see the arch gitlab discussion.
https://gitlab.archlinux.org/archlinux/ … ote_376841
It's unlikely that this pam config is intended.
Because it's probably a bug and the config doesn't make much sense.
Offline
> Me having fun with words.
Ok
. Your humor went over my head.
..
The rest is clear. For now I'm using the old xscreensaver version, and it works again.
RiP, Jeff http://www.slayer.net/at/jeff-hanneman
Offline
As of today, 6.14-1 is still in testing. For my own sanity, I made copies of the /etc/pam.d/xscreensaver files from 6.10.1-1 and 6.13-1, then edited the active file as suggested by ReD55 above. (IOW, the uncommented lines from the 6.10 version...)
#%PAM-1.0
auth include system-auth
account include system-authWith that correction, 6.13 works as before.
Side note: When xscreensaver first activated with the corrupt PAM configuration, I thought I was seeing a new hack, similar to GL Slideshow, but not using my configuration... But only my preferred modes were enabled... Weird, but not weird enough to spending any more time tracking it down. ![]()
Any technology distinguishable from magic is insufficiently advanced.
- Cleon, _Foundation's Fear_
Offline