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

Tonight My system informed me of an update, having preformed the update I was asked to restart the system. Now on start up I'm now presented with the linux console, asking for my user name and password. How do I get back my graphical interface back, when the update left conflicting versions of nVidia Graphics Drivers in place.

I get the error
ERROR API mismatch Nvidia Kernel is ver 304.48 but the driver component is 295.40
when attempting to start X from the console.

share|improve this question
Solutions for similar problems might help:… – belacqua Nov 17 '12 at 4:44

Your getting to the text console because X won't start. The easiest way to get it working again so you have a UI to work from is to run

sudo mv /etc/X11/xorg.conf /home/username/xorg.conf.backup
sudo apt-get remove nvidia-* sudo restart

When you come back up, everything should auto detect fine and you will get a basic GUI.

From that point your going to have to set back up your video card drivers. To do that:

sudo apt-get install nvidia-current
sudo restart

When you restart this time you should have a fully working GUI.

share|improve this answer
Thanks coteyr I will try this also my system is an ASUS with a i7 the graphics card is a NVIDIA – Stan Nov 16 '12 at 18:09
Ok, then once your back inside the basic GUI, run "additional hardware drivers", and activate the Nvidia drivers. – coteyr Nov 16 '12 at 18:33
Hi That didn't work – Stan Nov 16 '12 at 19:27
this was OK .. sudo mv /etc/X11/xorg.conf /home/username/xorg.conf.backup, the "restart" wouldn't work. I forced a restart but on restarting I get just a blank screen. any ideas ! – Stan Nov 16 '12 at 19:32
Define "blank screen". It's normal for that next boot to take FOREVER. Also do you/can you get to a console again? You likely just need to resetup the drivers. If you can get to a console then it's easy. – coteyr Nov 16 '12 at 20:35

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.