View previous topic :: View next topic |
Author |
Message |
zORN n00b
Joined: 26 Aug 2002 Posts: 55 Location: Bei Wolfsburg:)
|
Posted: Tue Oct 22, 2002 10:44 am Post subject: Fluxbox and lock the screen? |
|
|
howdy...
is it possible to lock the screen under fluxbox like you can do under kde... i mean maybe there is a dockapp out...that starts also a screensaver with password-protection...
thx for any hint... |
|
Back to top |
|
|
duff Guru
Joined: 19 Jun 2002 Posts: 466 Location: Clemson, SC
|
Posted: Tue Oct 22, 2002 12:09 pm Post subject: |
|
|
Code: | * x11-misc/xscreensaver
Latest version available: 4.05-r3
Latest version installed: [ Not Installed ]
Homepage: http://www.jwz.org/xscreensaver/
Description: a modular screensaver for X11
|
|
|
Back to top |
|
|
nmr_spectrometer n00b
Joined: 07 Oct 2002 Posts: 55
|
Posted: Tue Oct 22, 2002 12:33 pm Post subject: |
|
|
You can emerge xscreensaver, then add the following to your ~/.fluxbox/menu file:
Code: | [submenu] (xscreensaver)
[exec] (activate) {xscreensaver-command -activate}
[exec] (lock) {xscreensaver-command -lock}
[end]
|
This page on the fluxbox site describes where to find dockapps if you want to go that way. Personally I don't like cluttering up the slit too much. To each his own, as they say. |
|
Back to top |
|
|
zORN n00b
Joined: 26 Aug 2002 Posts: 55 Location: Bei Wolfsburg:)
|
Posted: Tue Oct 22, 2002 8:08 pm Post subject: |
|
|
thx a lot... now i can leave my fluxbox... and no girlfriend tries to hack my box |
|
Back to top |
|
|
zephyr1256 Apprentice
Joined: 10 Mar 2003 Posts: 170 Location: Kingsport, TN
|
Posted: Wed May 14, 2003 4:27 pm Post subject: |
|
|
One thing I just noticed, by default using xscreensaver isn't a very secure way to keep people out of your account if you don't logout. I just did a test and after the screensaver came up and the lockout activated, all I had to do was press cntrl-alt-backspace to kill the X server, and I'm at the command line logged in. I would imagine that there is a way to alias the command that kills the X server so that it also logs you out, something like:
Code: |
cntrl-alt-backspace-command = cntrl-alt-backspace-command && logout
|
For whatever command cntrl-alt-backspace invokes. Either that or you could change what command or command sequence that key combination invokes. |
|
Back to top |
|
|
SPo0n Tux's lil' helper
Joined: 03 May 2003 Posts: 85 Location: England
|
Posted: Wed May 14, 2003 4:29 pm Post subject: |
|
|
I have xscreensaver in my .xinitrc - incase i forget to activate it. |
|
Back to top |
|
|
tactless l33t
Joined: 14 Jul 2002 Posts: 642 Location: Mitzpe Adi, Israel
|
Posted: Wed May 14, 2003 4:49 pm Post subject: |
|
|
Hmm... you can run X from within Screen, and lock that too. Your X server can still be shut down though. _________________ Tactless
"If it wasn't for fog, the world would run at a really crappy framerate."
Jabber: tactless@amessage.info |
|
Back to top |
|
|
zephyr1256 Apprentice
Joined: 10 Mar 2003 Posts: 170 Location: Kingsport, TN
|
Posted: Wed May 14, 2003 5:07 pm Post subject: |
|
|
Ahh, I figured it out, in your .bashrc file:
Code: |
alias startx="startx && logout"
|
X runs and the logout command is deferred until it shuts down. The result of Control-Alt-Backspace is a return to the login console. |
|
Back to top |
|
|
Elay n00b
Joined: 30 Mar 2003 Posts: 25
|
Posted: Wed May 14, 2003 6:13 pm Post subject: |
|
|
There is a utility called vlock. vlock -a will lock all the available consoles. |
|
Back to top |
|
|
tactless l33t
Joined: 14 Jul 2002 Posts: 642 Location: Mitzpe Adi, Israel
|
Posted: Wed May 14, 2003 7:48 pm Post subject: |
|
|
zephyr: That's still hackable... all you have to do is switch to the console and hit Ctrl-Z. _________________ Tactless
"If it wasn't for fog, the world would run at a really crappy framerate."
Jabber: tactless@amessage.info |
|
Back to top |
|
|
zephyr1256 Apprentice
Joined: 10 Mar 2003 Posts: 170 Location: Kingsport, TN
|
Posted: Wed May 14, 2003 10:31 pm Post subject: |
|
|
Thanks, I thought it was, but hadn't figured out how. I had tried control-alt-F1 to get to the console but I hadn't figured out how to get the command line without killing the process. Of course, stop it instead of killing it.
So I guess you do need somthing like vlock after all, if you really want be secure while running X and leaving your session running. |
|
Back to top |
|
|
Odin Tux's lil' helper
Joined: 04 Mar 2003 Posts: 92
|
Posted: Thu May 15, 2003 3:31 am Post subject: |
|
|
All you gotta do is prevent ctrl-alt-backspace and ctrl-alt-Fn
Maybe a little extreme, but its doable...
Code: |
Section "ServerFlags"
Option "DontVTSwitch"
Option "DontZap"
EndSection
|
Note- I haven't actually played around with it yet, but it does seem to be a viable option... If you don't mind losing virtual console functionality and being able to kill X. Personally I wouldn't mind, as I have several comps and all the linux boxes are running sshd... So I can ssh in and kill X if I need to.
Vlock is probably a better option.. but then you can't have a pretty screensaver! (at least, I don't think you can.. it doesn't seem to be able to lock from a graphical VC.) |
|
Back to top |
|
|
mvr_rennes Apprentice
Joined: 23 Oct 2002 Posts: 155
|
Posted: Sat May 31, 2003 7:50 am Post subject: |
|
|
zephyr1256 wrote: | One thing I just noticed, by default using xscreensaver isn't a very secure way to keep people out of your account if you don't logout. I just did a test and after the screensaver came up and the lockout activated, all I had to do was press cntrl-alt-backspace to kill the X server, and I'm at the command line logged in. I would imagine that there is a way to alias the command that kills the X server so that it also logs you out, something like:
Code: |
cntrl-alt-backspace-command = cntrl-alt-backspace-command && logout
|
For whatever command cntrl-alt-backspace invokes. Either that or you could change what command or command sequence that key combination invokes. |
If that bothers you, turn on the "NoZap" switch in your X config...
cheers!
M |
|
Back to top |
|
|
jekyl n00b
Joined: 02 Aug 2003 Posts: 24 Location: Norway
|
Posted: Tue Jan 13, 2004 12:23 am Post subject: |
|
|
Or u guys can use kdm or gdm to login with |
|
Back to top |
|
|
|