Click to See Complete Forum and Search --> : Setting Ctrl-Alt-Delete to lock the screen


nopsuedo
10-07-2002, 01:17 PM
Anyway to set Ctrl-Alt-Delete to lock the screen instead of logging me out? I'm using Gnome, (Red Hat 7.3 if that makes a difference).

Thanks

Hayl
10-07-2002, 01:23 PM
i've never done that before but.... (assuming you have xlockmore installed)

changing this line in /etc/inittab

#Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now

to

#Disable CTRL-ALT-DELETE
ca::ctrlaltdel:/bin/echo "<ctrl><alt><del> disabled"

disables ctrl-alt-del

so changing it ro run xlock would logically make it lock the screen.

something like this i imagine

ca::ctrlaltdel:/usr/bin/X11/xlock -mode blank &

Hayl
10-07-2002, 01:38 PM
i just tried it and it doesn't work. :(

hmmm

that bugs me.

anyone else have any ideas? or is it not possible to run an X app from the ctrl-alt-del part of inittab?