fluxbox screen lock won't stay locked
I have two normal login accounts on my desktop computer. I run KDE on one and fluxbox on the other. If I lock the KDE desktop, it stays locked. But the fluxbox desktop often unlocks itself after a few hours.
I don't think that anyone could have the password, but just in case, I've changed it a couple of times over the last week or so. I still find it unlocked sometimes hours after locking it. That said, I'm not ruling out some kind of security issue. I'm running Slackware 14.1. Has anyone else run into a problem like this? Is there any way I can determine how it is coming unlocked? |
I would check to see if your screen locking program is dying and output its stderr to a log file. For instance, if your using xscreensaver:
Code:
/usr/bin/xscreensaver -nosplash 2> logfile |
if you using xlock, check its permission, it has g+s, and then your username is in the same group, I choose different password for its .xlockrc file.
|
As I understand it, xlock is designed so that if any single screensaver crashes, the whole program goes down. Xscreensaver doesn't do this.
https://www.jwz.org/xscreensaver/versus-xlock.html Could so also try other locking programs like slock. |
I am fairly sure KDE has it's own screen saver.
For fluxbox I suspect you are using either xscreensaver or xlock. Could it be one of them are crashing (see slacker1337)? If using xscreensaver try adjusting settings using xscreensaver-demo. Some of xscreensaver's modes can be graphically intensive. John |
Quote:
|
Quote:
I also get this when I run the xscreensaver-demo, but I'm not too concerned about it since I'm pretty sure that fluxbox is actually using xlock. Code:
(xscreensaver-demo:32639): libglade-WARNING **: Could not load support for `gnome': libgnome.so: cannot open shared object file: No such file or |
Quote:
I don't understand what you are saying about a different password for the .xlockrc file. How do I specify that? The permissions on xlock appear to be what you said (or what I understood, anyway): Code:
$ ls -al /usr/bin/xlock |
Quote:
|
Quote:
If you don't know which screensaver that fluxbox is using, just look in ~/.fluxbox/menu and search for "Lock Screen". For instance, my fluxbox menu has the following at line 196: Code:
[exec] (Lock screen) {xlock} Best of luck! |
Thanks for telling me how to tell which program fluxbox is using, slacker1337. I have the same line in my fluxbox menu file.
Now I will see if I can change it to use xscreensaver. |
Ok, it turns out fluxbox menu system is pretty straightforward. I was able to edit ~/.fluxbox/startup to start xscreensaver when fluxbox starts, then add a menu item to run the {/usr/bin/xscreensaver-command -lock}. I'm leaving the xlock menu item in there until I am satisfied that xscreenserver will do the job for me.
Thank you all for the assistance. I appreciate it. I'm going to mark this solved now. |
Quote:
Code:
xscreensaver -no-splash & Code:
Control Mod1 L :ExecCommand xscreensaver-command -lock John |
Thanks for the key shortcut, John. I just added that to the ~/.fluxbox/keys file, but it doesn't seem to have any affect. I'm working on it.
|
Quote:
|
All times are GMT -5. The time now is 10:49 PM. |