LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   lockdown program (https://www.linuxquestions.org/questions/programming-9/lockdown-program-275219/)

daven1 01-07-2005 10:15 PM

lockdown program
 
I have to have a few programs running on diffrent shells that i cant log out of, so im wondering if theres somthing I can run that will lock up the system, but still let all the background programs run... just so no one will be able to muck around with my system while im gone.

Thanks,
Daven

itsme86 01-07-2005 10:16 PM

What, like unplugging the keyboard and taking it with you?

1337 Twinkie 01-07-2005 10:41 PM

XScreenSaver can do that.

Chrax 01-08-2005 04:56 AM

Problem with Xscreensaver is that you can ctrl-alt-backspace and then startx. You lose the running programs, but I doubt that matters to somebody who wants to twiddle with your machine.

Now you can get around this by ctrl-alt-F1 (or whichever virtual terminal you're running the startx from), then ctrl-z to stop startx, and then "bg" to put it in the background. At that point you can log out of that terminal, alt-F7 and you're set.

Out of curiosity, just what types of programs are you wanting to leave running?

daven1 01-08-2005 09:59 AM

well i go to school at mit, studying math, and i have a few programs for a number theory i made that i dont want any of the people in my dorm to see. bastards try to steal my work =p

Chrax 01-08-2005 04:05 PM

The renowned MIT spirit of community is clearly alive and well...

Anyway yeah, I would suggest backgrounding your xserver, logging out, and then running xscreensaver.

servnov 01-08-2005 04:27 PM

nohup program name & and then logout

daven1 01-08-2005 07:05 PM

Quote:

Originally posted by Chrax
The renowned MIT spirit of community is clearly alive and well...

Anyway yeah, I would suggest backgrounding your xserver, logging out, and then running xscreensaver.

Yes true. Well that seems to work perfectly, thanks for the help!

faentur 02-04-2009 01:03 PM

Quote:

Originally Posted by Chrax (Post 1395828)
Problem with Xscreensaver is that you can ctrl-alt-backspace and then startx.

you can disable that by adding

Option "DontZap" "yes"

to your /etc/X11/xorg.conf file, in the ServerFlags section.

http://www.x.org/archive/X11R6.8.0/doc/xorg.conf.5.html

indienick 02-04-2009 01:50 PM

My suggestion would be to background the running process (in a TTY) by pressing ^Z, and then using "vlock" to lock the TTY.


All times are GMT -5. The time now is 02:01 PM.