General steps for installing Nvidia diplay driver in Linux

nv_logo_footerThis guide is based on Ubuntu,but it can be a reference for other Linux distributions as well.

Step 1, install build-essential

Open Terminal and implement :

sudo apt-get install build-essential

We need to install gcc,c/c++..ect libraries before installing the Nvidia display driver just in case.

Step2, disable X server before installing

Press [Ctrl]+[Alt]+[F1] to command line mode,type and implement :

sudo /etc/init.d/gdm stop //this command will disable X server

Step3,install Nvidia official driver

type and implement :

sudo sh NVIDIA-Linuxxxxxx.run //NVIDIA-Linuxxxxxx = the driver file name you downloaded

and then, just choose "accept" ,"yes" or"OK" which computer will ask you.

Once the installation is completed,please type and implement :

sudo /etc/init.d/gdm start //Restart computer

Step 4,configure the NVIDIA X Server Settings

go to Application->System Tool->NVIDIA X Server Settings

as below picture shows,you should see a option "Save to X Configuration File", click Preview (don't click"Save", as the configuration will not be saved without root permission ),then you will see the new Configuration File. Open your Terminal,please type and implement :

sudo gedit /etc/X11/xorg.conf

and then,please copy the new X Configuration File content which shows on the preview window to replace the old configuration file content and save it.

nvidia-linux

nvidia-linux1

Lastly,press [Ctrl]+[Alt]+[Backspace] to restart X so that the new configuration can be actived. Good luck.

Creative Commons License
linuxine.com's blog posts is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License