Pages

Tuesday, October 05, 2004

Linux: Frozen Xwindows

If Xwindows seem frozen, the following simple key strokes may bring back the Xserver without the need for a reboot

Two ways to kill the Xwindows session (Xserver)

(1) press "ctrl + alt + backspace"

If xdm been running, a new X server will be spawned immediately and prompts with the login screen

(2) press "ctrl + alt + F2"

It brings up a a virtual console; login and run:

# ps -ax | grep startx
It will give you the PID of the Xserver. Just kill it with:

# kill -9 <PID>
To go back to the first console, just press "alt+F1"

No comments:

Post a Comment