Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Escape a hung X session
Date: Mon, 25 May 2009 03:03:28
Message-Id: 200905250503.21593.volkerarmin@googlemail.com
In Reply to: [gentoo-user] Escape a hung X session by sean
1 On Montag 25 Mai 2009, sean wrote:
2 > Does anyone know a way to kill an X session when it locks up?
3 >
4 > CTRL-ALT-Backspace and anything else that was tried does not kill the
5 > session.
6 > Sadly we have to pull the power to get back in.
7 > There is not other system at the location to get in remotely.
8 >
9 > Thanks
10 > Sean
11
12 a) you use a 'new' xserver and got screwed by the 'new' feature that you can
13 not zap anymore (thank you Redhat!):
14 Section "ServerFlags"
15 Option "DontZap" "no"
16 EndSection
17
18 b) MagicSysreqKeys. Read about them, they are awesome. In short:
19 e sends TERM to all processes (except init)
20 i kills all processes (except init)
21 s syncs partitions
22 u remounts everything ro
23 b boots a box
24 o turns off a box
25 k saks a box - kills all processes on that vt
26 r unraws the keyboars - takes it away from X.
27
28 read /usr/src/linux/Documentation/sysrq.txt for the whole bucket of awesome.

Replies

Subject Author
Re: [gentoo-user] Escape a hung X session Mick <michaelkintzios@×××××.com>