Yedidyah Bar-David wrote on 2003-08-06: > On Wed, Aug 06, 2003 at 12:33:54PM +0300, Kfir Lavi wrote: > > Hi, > > How can i lock the computer and don't get out from programs that are open? > > Also when i do apm -suspend? > > I want all the ttys and X to be passprotected. > > I never played with apm. > set "DontZap" to true (read 'man XF86Config'), disable SysRq > (with 'echo "0" > /proc/sys/kernel/sysrq'). > Then run your favourite X screen locker (common ones are xscreensaver > and xlockmore). > But X lockers still allow to switch VTs. There is `vlock`, which in the ``vlock -a`` mode disable console switching (just tried). But it doesn't work from X (locks only the current xterm, can still switch consoles). So you need to switch to some VT, login and run ``vlock -a``. Oh, and you need to have it installed.
ALternatively, you can completely disable VT switching in XF86Config but that's ugly. -- Beni Cherniavsky <[EMAIL PROTECTED]> ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
