Wednesday, November 25, 2009

Slow X11 startup on new Snow leopard install

After installing xemacs form macosx ports I was finding it was taking several minutes to startup - looking closer I realised that X11 was taking the time not Xemacs itself.
In /var/log/system.log there were entries like:

Nov 25 14:01:29 lapc-br1-2 org.x.startx[366]: xauth: timeout in locking authority file /Users/ogs22/.serverauth.366
Nov 25 14:01:49 lapc-br1-2 org.x.startx[366]: xauth: timeout in locking authority file /Users/ogs22/.Xauthority

Checking the file permission on my home directory showed:

drwxr-xr-x 210 temp 502 7140 25 Nov 14:01 ogs22

temp being the user I created to transfer my files/settings using migration assistant, so a quick

sudo chown ogs22:ogs22 ogs22

and X11 starts in about 2 seconds now.

No comments: