After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 309613 - screen locking not working
screen locking not working
Status: RESOLVED NOTABUG
Product: gnome-screensaver
Classification: Deprecated
Component: general
0.0.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-screensaver maintainers
gnome-screensaver maintainers
Depends on:
Blocks:
 
 
Reported: 2005-07-06 17:09 UTC by Timo Aaltonen
Modified: 2005-07-07 13:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Timo Aaltonen 2005-07-06 17:09:39 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 ;)
Comment 1 Timo Aaltonen 2005-07-06 17:11:12 UTC
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.
Comment 2 William Jon McCann 2005-07-06 17:15:16 UTC
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.
Comment 3 Timo Aaltonen 2005-07-07 07:22:35 UTC
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 ;)
Comment 4 Timo Aaltonen 2005-07-07 12:14:45 UTC
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.
Comment 5 William Jon McCann 2005-07-07 13:20:51 UTC
OK, sounds good.