Install linux source (sudo apt-get install linux-source) and headers (sudo apt-get install linux-headers-3.5.0-17-generic).
Uninstall nvidia driver - this depends on which version you installed (sudo apt-get remove nvidia-current or sudo apt-get remove nvidia-current-updates or sudo apt-get remove nvidia-experimental-304).
this problem is solved this way
Switch to a terminal (Ctrl-Alt-F1).
Login as your username.
Install linux source (sudo apt-get install linux-source) and headers (sudo apt-get install linux-headers- 3.5.0-17- generic) .
Uninstall nvidia driver - this depends on which version you installed (sudo apt-get remove nvidia-current or sudo apt-get remove nvidia- current- updates or sudo apt-get remove nvidia- experimental- 304).
Reinstall nvidia driver (sudo apt-get install nvidia- current- updates) .
If it successfully installs, restart the computer (sudo shutdown -r now). askubuntu. com/questions/ 202574/ ubuntu- 12-10-desktop- does-not- show-when- i-installed- nvidia- drivers
Source
http://