failed to load session "ubuntu"

Discussion forum for ORBX on OTOY's Amazon AMIs
Post Reply
charliex
OctaneRender Team
Posts: 8
Joined: Wed Aug 11, 2010 6:59 pm
Location: Los Angeles

If you get this error after doing apt-get update / upgrade. Its because the NVIDIA driver has a soft link to its own glx.so, 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 libglx.so -> libglx.so.331.20
-rwxr-xr-x 1 root root 9815912 Nov 9 07:12 libglx.so.331.20
So using 331.20 as the XXX.YY

Code: Select all

su root

mv /usr/lib/xorg/modules/extensions/libglx.so /usr/lib/xorg/modules/extensions/libglx.so.orig
ln -s /usr/lib/xorg/modules/extensions/libglx.so.XXX.YY /usr/lib/xorg/modules/extensions/libglx.so

exit

Solution B:

Go to the NVIDIA drivers page http://www.nvidia.com/object/unix.html 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

http://www.nvidia.com/content/DriverDow ... pe=GeForce


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/NVIDIA-Linux-x86_64-331.20.run
exit
Post Reply

Return to “ORBX on Amazon AMIs”