How to restart a frozen X-Windows
by allikat, newmikey, wayne1932, and lwolfers
X froze recently, and I had to restart it. Things were frozen up so bad it took 5 minutes to swap to a text console.
- To get a text console, press [ctrl][alt][F2]
- Log in as root
- Type: top
- Press K (for kill)
- Enter the task number for X, which is in the list on the screen
- Confirm with a Y
X will then shut down, and on default settings, will restart to your login screen.
OR:
- To get a text console, press [ctrl][alt][F2]
- Log in as root
- Type INIT 3
- X will shut down. Wait a couple of seconds
- Type INIT 5
X will restart to your login screen.
OR:
- Wanna get there quick? [Ctrl]+[Alt]+[Backspace]