Lamer Moments: Gnome Crashed on Startup

Wed 14 December 2005

Filed under Howto

Tags Lamer Moments

Gnome started dying on startup - with no errors - after something changed on my laptop recently. I do change a lot of stuff, and it was pretty weird. Finally I loaded just X:

export display=:0
X&
xterm&

Nice, simple, etc. then I ran gnome-session in my xterm to test, and I got this:

jms@media:~/ $ gnome-session
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created.
_IceTransSocketUNIXCreateListener: mkdir(/tmp/.ICE-unix) failed, errno = 2
_IceTransMakeAllCOTSServerListeners: failed to create listener for local

Pretty strange. The very simple answer is to recreate the .ICE-unix directory as root and set the permissions:

jms@media:/tmp $ sudo mkdir .ICE-unix
jms@media:/tmp $ sudo chmod 1777 .ICE-unix

Everything works now. Stupid.


Comments


Up To Something © Joshua M Schmidlkofer Powered by Pelican and Twitter Bootstrap. Icons by Font Awesome and Font Awesome More