PDA

View Full Version : [ubuntu] xsession error after trying to update 8.10 -> 9.04



sousedstvi
August 20th, 2009, 03:01 AM
I tried to update 8.10 to 9.04. I got an error saying i didn't have enough disk space in my root / directory. following instructions from the updater, I ran
$sudo apt-get clean

and cleaned up /tmp with
$rm -rf /tmp

I restarted ubuntu and after logging in to gnome, got the "you have been logged in less than 10 seconds" error.
here's ~/.xsession-error:

/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to
/etc/X11/xinit/xinput.d/default.
/usr/bin/xmodmap: unable to open file /usr/share/apps/kxkb/ubuntu.xmodmap' for reading
/usr/bin/xmodmap: 1 error encountered, aborting.
mkdtemp: private socket dir: Permission denied

I also tried failsafe GNOME and got this error:
problem with configuration server
/usr/lib/libgconf2-4/gconf-sanity-check-2
exited with status 256

riazrahaman
August 20th, 2009, 07:43 AM
Try logging into command line mode (ctrl alt f1).

Check the xsession errors under /var/log. I remember seeing this issue long back. Have to search through my old mails.

PmDematagoda
August 20th, 2009, 09:43 AM
If the error about low disk space was shown before the upgrade from 8.10 to 9.04 completed, did you try rerunning the upgrade to ensure that all the required packages had been installed/upgraded?

sousedstvi
August 20th, 2009, 06:11 PM
I did not try rerunning the upgrade after I got the low disk space error. Now I can only access failsafe terminal. Can I run the upgrade from there?

sousedstvi
August 20th, 2009, 06:12 PM
I'll check /var/log for any other xsession errors.

sousedstvi
August 22nd, 2009, 04:19 AM
I didn't see any files or directories named "xsession" in /var/log. anything else I should look for in /var/log?

also, any thoughts as to whether I should go ahead and try the upgrade from within failsafe terminal?
some research indicates I can do

$sudo apt-get dist-upgrade

PmDematagoda
August 23rd, 2009, 02:40 PM
I didn't see any files or directories named "xsession" in /var/log. anything else I should look for in /var/log?

also, any thoughts as to whether I should go ahead and try the upgrade from within failsafe terminal?
some research indicates I can do

$sudo apt-get dist-upgrade

Yes, that should do the trick. But please try and ensure that there is at least about 1.5 Gb of free space on the drive so that the upgrade can complete.

Kenno
January 21st, 2010, 07:16 PM
You need /tmp


sudo mkdir /tmp
sudo chmod 1777 /tmp