LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-07-2005, 11:15 PM   #1
daven1
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Rep: Reputation: 0
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
 
Old 01-07-2005, 11:16 PM   #2
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
What, like unplugging the keyboard and taking it with you?
 
Old 01-07-2005, 11:41 PM   #3
1337 Twinkie
Member
 
Registered: Jul 2004
Distribution: Fedora Core 2
Posts: 79

Rep: Reputation: 15
XScreenSaver can do that.
 
Old 01-08-2005, 05:56 AM   #4
Chrax
Member
 
Registered: Apr 2004
Distribution: Dapper
Posts: 167

Rep: Reputation: 31
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?
 
Old 01-08-2005, 10:59 AM   #5
daven1
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Original Poster
Rep: Reputation: 0
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
 
Old 01-08-2005, 05:05 PM   #6
Chrax
Member
 
Registered: Apr 2004
Distribution: Dapper
Posts: 167

Rep: Reputation: 31
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.
 
Old 01-08-2005, 05:27 PM   #7
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Rep: Reputation: 30
nohup program name & and then logout
 
Old 01-08-2005, 08:05 PM   #8
daven1
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Original Poster
Rep: Reputation: 0
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!
 
Old 02-04-2009, 02:03 PM   #9
faentur
LQ Newbie
 
Registered: Nov 2004
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by Chrax View Post
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
 
Old 02-04-2009, 02:50 PM   #10
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Desktop Lockdown jjfate Linux - Enterprise 8 02-07-2007 04:37 PM
Best way to lockdown users The_JinJ Linux - Newbie 1 10-12-2005 07:46 PM
lockdown fedora core 4 dizzaniix Linux - Security 3 10-05-2005 03:42 AM
Lockdown Obie Linux - Security 10 07-30-2004 04:07 AM
Lockdown or not? neil Linux - Security 5 04-08-2002 03:31 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration