On Montag 25 Mai 2009, sean wrote:
> Does anyone know a way to kill an X session when it locks up?
>
> CTRL-ALT-Backspace and anything else that was tried does not kill the
> session.
> Sadly we have to pull the power to get back in.
> There is not other system at the location to get in remotely.
>
>               Thanks
>               Sean

a) you use a 'new' xserver and got screwed by the 'new' feature that you can 
not zap anymore (thank you Redhat!):
Section "ServerFlags"
         Option "DontZap" "no"
EndSection   

b) MagicSysreqKeys. Read about them, they are awesome. In short:
e sends TERM to all processes (except init)
i kills all processes (except init)
s syncs partitions
u remounts everything ro
b boots a box
o turns off a box
k saks a box - kills all processes on that vt
r unraws the keyboars - takes it away from X.

read /usr/src/linux/Documentation/sysrq.txt for the whole bucket of awesome.

Reply via email to