xscreensaver and locking

Justin C. Sherrill justin at shiningsilence.com
Wed Jul 19 10:45:33 PDT 2006


I compiled xscreensaver though pkgsrc, with PKG_OPTIONS.xscreensaver=pam
to enable use of PAM so I could lock my screen.

It locks correctly, and I get a dialog box, but it doesn't seem to be able
to correctly unlock - it refuses my password.  I've tried creating various
permutations of /etc/pam.d/xscreensaver, but no luck.

Here's the pertinent output from 'xscreensaver -verbose'.
xscreensaver: 13:27:26: pam_start ("xscreensaver", "jsherrill", ...) ==> 0
(success)
xscreensaver: 13:27:26:   pam_set_item (p, PAM_TTY, ":0.0") ==> 0 (success)
xscreensaver: 13:27:26:     PAM ECHO_OFF("Password:") ==> password
xscreensaver: 13:27:26:   pam_authenticate (...) ==> 9 (authentication error)
xscreensaver: 13:27:26:   pam_set_item(p, PAM_USER, "root") ==> 0 (success)
xscreensaver: 13:27:26:     PAM ECHO_OFF("Password:") ==> password
xscreensaver: 13:27:26:   pam_authenticate (...) ==> 9 (authentication error)
xscreensaver: 13:27:26: pam_end (...) ==> 0 (Success)
xscreensaver: 13:27:26: password incorrect!
xscreensaver: 13:27:27: grabbing server...

Is anyone else using xscreensaver, and its screen lock?






More information about the Bugs mailing list