You are not logged in.
xscreensaver 5.22, copyright (c) 1991-2013 by Jamie Zawinski <jwz@jwz.org>
local/xfce4-settings 4.10.1-1 (xfce4)~/.xscreensaver http://sprunge.us/WBMC?bash
~/.xinitrc http://sprunge.us/NYfI?bash
~/.xserverrc http://sprunge.us/YcKc?bash
Every time xscreensaver starts, I can't unlock it because it thinks the password is wrong. I have to switch to another tty, log in, kill the process, and switch back. I know my password is correct because I can login through a tty, but xscreensaver ain't having it. I'm really at a loss.
Offline
Did you try launching with --log ? Does /etc/pam.d/xscreensaver stil exist and contain something useful?
From the man-page
If your system uses PAM (Pluggable Authentication Modules), then in order for xscreensaver to use PAM properly, PAM must be told about xscreensaver. The xscreensaver installation process should update the PAM data (on Linux, by creating the file /etc/pam.d/xscreensaver for you, and on Solaris, by telling you what lines to add to the /etc/pam.conf file.) If the PAM configuration files do not know about xscreensaver, then you might be in a situation where xscreensaver will refuse to ever unlock the screen.
This is a design flaw in PAM (there is no way for a client to tell the difference between PAM responding "I have never heard of your module", and responding, "you typed the wrong password".) As far as I can tell, there is no way for xscreensaver to automatically work around this, or detect the problem in advance, so if you have PAM, make sure it is configured correctly!
Last edited by Spider.007 (2013-09-25 22:20:41)
Offline
Not sure how to interpret this.
$ cat /etc/pam.d/xscreensaver
#%PAM-1.0# Fedora Core 5:
auth include system-auth# SuSE 9.0: (along with "configure --with-passwd-helper" and "unix2_chkpwd")
# auth required pam_unix2.so nullok# Distant past:
# auth required /lib/security/pam_pwdb.so shadow nullok# Account validation
#account include system-auth
Offline
This looks alright to me. The screenlocker on my system (i3lock) uses the same statement and it's working.
cat i3lock
#
# PAM configuration file for the i3lock screen locker. By default, it includes
# the 'system-auth' configuration file (see /etc/pam.d/login)
#
auth include system-auth( It means the file /etc/pam.d/system-auth is read when reading the xcreensaver file. )
Offline
According to the FAQ, xscreensaver must either be suid root or pam must be correctly set up. http://www.jwz.org/xscreensaver/faq.html#setuid:
If your system doesn't use shadow passwords, or if your system uses PAM (and PAM is installed correctly!), then xscreensaver will work even if it is not setuid.
So maybe check those things?
EDIT: Though it looks from the manual page as though /etc/pam.d/xscreensaver should be all you need...
Last edited by cfr (2013-10-03 01:19:12)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline