A collection of Mac OS X CLI commands for fixing a frozen GUI
25/09/20 08:57 Filed in: Systems Administation
Once in a while my very overloaded Macs have a non-responsive GUI element. Usually I can log in via ssh. I have a few command line commands that help put things right.
Rebooting should be a last resort. The following are a few commands I have used to avoid going to that extreme when a CLI is available.
killall -KILL SystemUIServer | Restart a non-responsive menu bar |
killall -KILL Dock | Restart a non-responsive Dock |
killall -KILL Finder | Restart a non-responsive Finder |
sudo killall -HUP WindowServer | This will log your desktop out! |
sudo killall -3 WindowServer | This will log everyone out! |