Installing the updated Nvidia driver in Linux

Linux at SCAD SFDM for those who use it!

Installing the updated Nvidia driver in Linux

Postby wuwang20 on Jan 7th, '16, 15:47

Acquire the root access to another machine remotely:

ssh root@mt-rxxx-xx
ls

--------------------------------------------------------------------------------------------------------------------------------

Copy the Nvidia driver from one machine to another, this is used to get the Nvdia driver from another computer that already has it, so we don't have to download it everytime:

scp NVIDIA-Linux-x86_64-352.63.run root@mt-r208-ts:/root

---------------------------------------------------------------------------------------------------------------------------------

Entering the command line mode, which doesn't use the Xserver to calculate graphics:
ctl-alt-f2

Shut down the Xserver using this command, so Nvdia Driver can successfully install:
init 3

Install the Nvdia Driver using this command:
sh NVIDIA-Linux-x86_64-352.63.run -q -X -a -s

-----------------------------------------------------------------------------------------------------------------------------------

Restart the Xserver using "startx" command:
startx

reboot

----------------------------------------------------------------------------------------------------------------------------------

Log into Linux using root account, after configuring the Linux display setting in Nvidia X Server Settings window, Save to x Configuration File, which would save a xorg.conf file in /etc/X11/ folder.

Then go find /etc/rc.local file, open it with Geany or other programming tool, using "#" to comment out code line 12-15, which grabs the x configuration file from the server periodically and override the one we saved. By comment those code line out, we can preserve the display settings we just did.

---------------------------------------------------------------------------------------------------------------------------------

Red Hair Best Hair
User avatar
wuwang20
 
Posts: 5
Joined: May 21st, '14, 16:54

Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest

cron