Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Ubuntu 11.10 with no problems on my Desktop. Suddenly, there are two weeks, it restart the session without apparent reason. It occurs without any warning and I lose my job. It worked perfectly until 2 weeks ago. Please, help me!

share|improve this question
Unfortunately, the 290.10 driver does not support the GTX690 cards, so I had to upgrade to a later version. I used version 304 but it gave the same symptoms as above, but after upgrading to 310 - so far - has not given any of the old symptoms. This solution was tested on Ubuntu Precise Pangolin 12.04. Qiet72 – user1901077 Mar 19 '13 at 16:29

Just a hunch you could have upgraded to an Nvidia driver which has been known to crash in 11.10 and 12.04. The symptoms sound similar: suddenly you find yourself back at the Lightdm login screen. Typically, this happens when web browsing, often with Flash in the page (but sometimes not). No warning. Just a dropped session. Seems random. Let's first verify that you have the problem.

Check to see if you have the Nvidia driver. Launch nvidia-settings and look for the Nvidia driver version. The problems are with the default version installed (295.40) and later. If that's the version shown, you should verify you're getting the same crash.

Next time your system crashes (or if you know when it last crashed), you can check your syslog for the error. Use System Tools > Log File Viewer in the menu, then click on syslog. Scroll until you're around the time of the crash and look for a line that contains: "Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server" If you have the Nvidia driver and see that error, you know you have run into the Nvidia driver bug.

Here's how to downgrade to the previous Nvidia driver version that works.

Find the 290.10 version in Launchpad. I found the AMD 64 version here: The download link is on the right side. Download it to your home folder.

Now deactivate the old driver by opening a terminal and type "jockey-gtk". Select the driver that's got the green dot next to it and select the "Remove" button. Close it when it's done.

Now we're going to install the new driver. Type the command "sudo dpkg -i nvidia-current_290.10-0ubuntu2_precise_amd64.deb" to install that version. It will ask you for your password. It will take a while as it runs a kernel module version sanity check, but it will finish.

You'll want to force and lock that version so it doesn't get upgraded by accident. There's probably a quick way to do this command-line, but I use synaptic to make it easy. Install synaptic (run: sudo apt-get install synaptic) and launch it with "sudo synaptic". Search for the package we just installed. It will just be named nvidia-current. You should select Package > Force Version, and choose 290.10, and hit "Force". Now lock it in place by choosing Package > Lock Version from Synaptic's menu. The line in Synaptic will turn red, but have a green square with a lock icon on the right.

Now it's time to activate it by re=launching jockey-gtk from the command line. Select "version-current" and choose "Activate". You'll get the green dot next to it again. Close jockey-gtk.

Reboot. Let's make sure everything's in place. Go to nvidia-settings again and check the driver version to make sure you are running 295.10. You may have to reinstall nvidia-settings (sudo apt-get install nvidia-settings). If the version number says 290.10, you should experience no more sudden session losses.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.