Wednesday, March 15, 2006

OS X: Mac without GUI

While rummaging in the (developer-)documentation of my Mac, I found an interesting technique to get rid of the GUI without resorting to single user mode. If the sheer thought of a Mac without mouse-control scares you, take a deep breath and read on, if you think that this is a cool idea – the box is running BSD anyway – don't forget to breathe.
:-)

The following implies, that your Mac is asking you for a username and a password after booting or after you logged out of your account. When the Username and Password window appears, type

>console

as username and press Enter. The bigger than sign is needed. The system switches to command-line mode, mind, not single user mode, but command-line mode. Means everything is running except the window-system. If you should read this on one computer and already tried it on another, how to get the windows back will be the subject of a post next week.
:-)
Just kidding, if you are done with the *NIX command-line stuff, just type

exit

and the system will revert to the usual behavior. (No surprise if you know your way around a *NIX based system.)

Knowing how to switch off the GUI will come handy, if e.g. your "Finder" starts acting up on you and you have a clear idea what needs to be done to rectify the problem.