Fixing X11 failure in Mac OS X Lion

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.

One Response to “Fixing X11 failure in Mac OS X Lion”

  1. Your Praiser Says:

    dude, you are awesome

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: