Page 1 of 1

failed to load session "ubuntu"

PostPosted: Sat Nov 09, 2013 7:44 am
by charliex
If you get this error after doing apt-get update / upgrade. Its because the NVIDIA driver has a soft link to its own, and that has to be replaced.

so do one of the following.

Solution A:

Find out the current version installed, with

Code: Select all
ls -l /usr/lib/xorg/modules/extensions/

You'll see something like :-
lrwxrwxrwx 1 root root 16 Nov 9 07:12 ->
-rwxr-xr-x 1 root root 9815912 Nov 9 07:12

So using 331.20 as the XXX.YY

Code: Select all
su root

mv /usr/lib/xorg/modules/extensions/ /usr/lib/xorg/modules/extensions/
ln -s /usr/lib/xorg/modules/extensions/ /usr/lib/xorg/modules/extensions/


Solution B:

Go to the NVIDIA drivers page and download the run script (using the SSH session, since graphics mode isn't working)

The way i did that was to go to the agree screen, and copy the link, then wget it in the SSH. I have tested this version

Important : Do not choose the option to configure the xorg.conf, if you do accidentally do that step, it will make a backup called xorg.conf.nvidia-xconfig-original , copy that to xorg.conf

Once you have downloaded the script to the OTOY Linux instance.

Stop the X Server too, add the 32 bit compatibility libraries.

Code: Select all
sudo -s
service gdm stop
sh ./Linux-x86_64/331.20/