Since some prefer to install the NVIDIA driver manually here s how its done in Ubuntu and Debian.
First get the needed packages (Assuming you have the needed repositories) as root or sudo:
apt-get install build-essential linux-headers-`uname -r`
————————————————–For Ubuntu users only—————————————————-
Purge nvidia-glx-new if it is installed:
sudo apt-get remove nvidia-glx-new –purge
Adjust your linux-restricted-modules-common file:
sudo nano -w /etc/default/linux-restricted-modules-common
In stead of using nano you can also use another editor of course.
——————————-End for Ubuntu users only———————–
Now you have to drop into a terminal with the command ctrl-alt-f1
Log in as user and become root or use sudo and key in
to kill your X session.
Now you can install your NVIDIA driver with the command as root (Ubuntu users use sudo)
When the installer asks if it should edit your xorg.conf choose yes (make sure you have your xorg.conf backed up!!)
After installation key in as root (sudo for ubuntu users)
You should now get back into your login screen. (If not try a reboot and otherwise you are pickled)
If you are not sure what this all means its better not to try any of this.
Ubuntu does not support this in any way shape or form.