[Techtalk] <CTRL><ALT><DEL> on an X-Terminal

Conor Daly conor.daly at oceanfree.net
Fri Jan 10 20:50:08 EST 2003


I'm running a number of X-terminals (RH72) off an RH72 based server using
XDMCP thus:

/etc/inittab has as its final line:

x:5:respawn:/usr/X11R6/bin/XFree86 -query <server.name>

inittab also has the traditional 
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -ah +1

to do a shutdown.  Unfortunately, once the X-terminal is in runlevel 5
(running X), <ctrl><alt><del> doesn't do anything.  It appears that X is
grabbing the key combination and ignoring it instead of passing it back to
init.  This generally isn't a problem when [x|g|k]dm is running locally
since there's a "shutdown" menu option.  But, when XDMCP is in use,
shutdown is not available (which is sensible really since it would run on
the server instead of on the X-terminal).

So, the question is:  Does anyone know how to have an X-terminal trap
<ctrl><alt><del> in runlevel 5?

Conor
-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
  7:38pm  up 66 days,  4:22,  0 users,  load average: 0.00, 0.00, 0.00
Hobbiton.cod.ie
  7:26pm  up 15 days, 20:18,  3 users,  load average: 0.04, 0.03, 0.00



More information about the Techtalk mailing list