Technical Journal

Programming, software technologies, operating systems, IT

Ubuntu .ICEAuthority problem

Recently I’ve rebooted my VMWare Ubuntu machine and after the login sequence I’ve received an error whose log I give bellow.

/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x “/var/lib/gdm/:20.Xservers” -h “” -l “:20″ “wes”
/etc/gdm/Xsession: Beginning session setup…
_IceTransTransNoListen: unable to find transport: tcp
_IceTransmkdir: ERROR: euid != 0,directory /dev/X will not be created.
_IceTransmkdir: ERROR: Cannot create /dev/X
_IceTransPTSOpenServer: mkdir(/dev/X) failed, errno = 13
_IceTransOpen: transport open failed for pts/ubuntu:
_IceTransMakeAllCOTSServerListeners: failed to open listener for pts
_IceTransISCOpenServer: Protocol is not supported by a ISC connection
_IceTransOpen: transport open failed for isc/ubuntu:
_IceTransMakeAllCOTSServerListeners: failed to open listener for isc
_IceTransSCOOpenServer: Protocol is not supported by a SCO connection
_IceTransOpen: transport open failed for sco/ubuntu:
_IceTransMakeAllCOTSServerListeners: failed to open listener for sco

** (gnome-session:23826): WARNING **: Unable to lock ICE authority file:

The solution I’ve found on a forum( http://www.linuxquestions.org/questions/showthread.php?s=ef11204ac2b7cacdd6cfc0b651512838&t=403160&page=3 ).  To save you the trouble of digging for it in the posts, I’ll just mention what I did to make Gnome start :

Open the failsafe terminal and edit the file /etc/gdm/Xsession. Add the following lines right under the PROGNAME = Xsession line :

ICEAUTHORITY=”tmp/ICEauthority-${root}”
export ICEAUTHORITY

This worked fine for me since Gnome is now normally started.

June 5, 2007 Posted by andocs | Linux | | No Comments Yet

Set PATH environment variable

This post may look shorter than it’s title. In order to set the PATH environment variable to include your custom path you should type the following on the command line :

> PATH=$PATH:/your_dir

That should do the trick.

June 2, 2007 Posted by andocs | Linux | | No Comments Yet