Bugzilla – Bug 100688
Lock Screen does not work
Last modified: 2005-08-24 14:24:30 UTC
Choosing "Desktop" -> "Lock Screen" does not work. Nothing happens.
Are either xscreensaver or gnome-screensaver installed and/or running?
Created attachment 44794 [details] strace of gnome-panel
thoenig@d222:~> rpm -qa |grep screensave kdeartwork3-kscreensaver-3.4.2-3 xscreensaver-4.22-4 kdeartwork3-xscreensaver-3.4.2-3 gnome-screensaver-0.0.7-8 thoenig@d222:~> ps axu |grep screens test1 14405 0.4 0.3 4440 1896 ? S 13:41 0:00 xscreensaver -nosplash thoenig 14460 0.0 0.0 1584 480 pts/1 S+ 13:41 0:00 grep screens strace -p `pidof gnome-panel` 2&> /tmp/strace of the moment of clicking "Log Out" previously attached.
starting xscreensaver from a console works. starting gnome-screensaver from a console does not work (polling in an endless loop), strace as follow up.
Created attachment 44796 [details] strace of gnome-screensaver until it hits the endless loop
The problem is that it is running xscreensaver on startup of the session, and then trying to send it commands with gnome-screensaver-command. Maybe you installed gnome-screensaver while running this session? If so, please log out and log in again, and see if it correctly starts gnome-screensaver instead of xscreensaver.
No, I did a plain install of preview4 with GNOME and KDE package selection (plus development tools etc.). I did not start xscreensaver by hand in the session used for above's ps axu. It was a just started gnome session. I'll dig to see where xscreensaver gets started.
Once xscreensaver is killed and gnome-screensaver runs, Lock Screen works. Also, gnome- screensaver runs after inactivity as expected. Though, I haven't found why xscreensaver gets started, yet.
Seems preview4 includes control-center 2.11.6, which does not include the fix to start up gnome-screensaver if installed, but does contain the new gnome-panel, which uses gnome-screensaver if available. So, needs an update to control-center 2.11.90
Verified. Using version 2.11.90 of control-center2 fixes the issue. Should be fine for beta1.
"Lock Screen" in Beta 1 blanks the screen. One user intaction the blank screen goes without asking for the user's password. The timeout defined by gnome-screensaver-preferences does not lead to a screen lock.
Sorry for mess: On user interaction the blank screen goes away without asking for the user's password.
Problem seems to depend on the user logged in: - a normal user is required to type the password after gnome-screensaver got activated - root is _not_ required to type the password after gnome-screensaver got activated
Still in Beta 2.
What is still in beta2? The lock screen not working or the root not being required to type the password? For the lock screen not working, if that's the case, do you have control-center 2.11.90 installed? For the root not being asked for password, I am working upstream to fix it.
(In reply to comment #15) > What is still in beta2? The lock screen not working or the root not being > required to type the password? Second one. Lock screen for root does not ask for a password. [...] > For the root not being asked for password, I am working upstream to fix it. OK, did not know that since I saw no reply to my last entry for Beta 1.
Ok, so, gnome-screensaver shares the authentication mechanism with xscreensaver, which suffered also from this -> http://www.jwz.org/xscreensaver/faq.html#root-lock So, the point is "don't log in to X as root", this won't be fixed for "good and insurmountable security reasons"