Archive for April, 2012

Fixing X11 failure in Mac OS X Lion

April 18, 2012

Sometimes when I start octave, it will start X11 automatically, which triggers the command:

priviledge_startx -d

But somehow X11 keeps crashing and restarting, which is very annoying.From the system console, one line of message shows:

4/18/12 11:31:43.142 AM org.x.startx: _XSERVTransmkdir: ERROR: Owner of /tmp/.X11-unix must be set to root

Checked the folder /tmp/.X11-unix, and found that the owner is the current user. chmod the directory to set the owner to root resolve the issue.