GNOME Bugzilla – Bug 309613
screen locking not working
Last modified: 2005-07-07 13:20:51 UTC
Distribution/Version: Ubuntu Breezy I tried the 0.0.6 version, but I'm unable to get the locking to work: ** (process:23631): WARNING **: Couldn't get password of "tjaalton" ** (process:23631): WARNING **: Couldn't get password of "root" ** (gnome-screensaver-dialog:23631): WARNING **: Screen locking disabled: error getting password this is the configuration: gnome-screensaver 0.0.6 ======================== prefix: /usr/local exec_prefix: ${prefix} libdir: ${prefix}/lib bindir: ${prefix}/bin sysconfdir: /usr/local/etc localstatedir: /usr/local/var datadir: /usr/local/share PAM prefix: NONE/etc source code location: . compiler: gcc cflags: -g -O2 Maintainer mode: no Screen locking enabled: yes Power management enabled: yes User switching enabled: yes PAM support: Have shadow passords: yes Have adjunct shadow: no Have enhanced shadow: no Have HPUX shadow: no Have password helper: no Need setuid dialog: yes -- btw, the popsquares-saver doesn't work either ;)
hrmh, forgot to mention, that I tested this by locking the session -> screen gets blank -> move the mouse and desktop is revealed with these messages.
It seems like Ubuntu requires the gnome-screensaver-dialog process to be setuid root. Did you get a warning to this effect when you built it? If you make it setuid root does it work? Thanks.
don't see any warnings, but making the g-s-d suid-root makes it work. Maybe it is due to the fact that Ubuntu has no root-account by default (uses sudo). Popsquares still is broken ;)
there's an ubuntu package now available and popsquares work with it, so feel free to close this. The setuid-thing might be best left for the Ubuntu-packager to fix.
OK, sounds good.