Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Restarting the GUI remotely System
If your GUI ever locks up completely, and you have access to another machine, you may be able to repair it remotely. Telnet (or SSH) in, open a terminal, and do "ps -aux". Look for loginwindow.app in the list, note the PID number, and then "kill -9" that PID.

This should restart your GUI so you can use your machine again.
    •    
  • Currently 3.00 / 5
  You rated: 5 / 5 (7 votes cast)
 
[5,967 views]  

Restarting the GUI remotely | 2 comments | Create New Account
Click here to return to the 'Restarting the GUI remotely' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Cutting to the chase
Authored by: sinjin on Oct 19, '04 11:13:38PM
This hint has saved me a few times. I find this modification helpful for getting right to the process:

ps -auxw | grep loginwindow.app

[ Reply to This | # ]

Restarting the GUI remotely
Authored by: T0b1 on Mar 21, '11 07:35:05AM

All at once :
ps aux | awk '/loginwindow/ && !/awk/ {print $2}' | sudo xargs kill -9



[ Reply to This | # ]