Install G80 Graphics Driver as Root, Help Please

Associate
Joined
27 Aug 2006
Posts
435
Just moved to Linux, the Ubuntu distro. Loved the way it just knew my wireless and sound card. I need to get the G80 graphics driver from nvidia's website going to get 1440 x 900 and the interface effects. My question is this.

How do I "Install as root?". I know the command needed is sh (filename), but I get "mush be root" prompted after.



Thanks for the help, it will be much obliged as it is only this left till I can truly enjoy this much talked of OS.
 
sudo sh ./blah

sudo is something you will be using a lot.... :)

but try using the "restricted drivers manager" from the system>administration menu. does it all for you. (well it did with my ati card). :)
 
marc2003 said:
sudo sh ./blah

sudo is something you will be using a lot.... :)

but try using the "restricted drivers manager" from the system>administration menu. does it all for you. (well it did with my ati card). :)

I tried that, it caused a linux BSOD so to speak. So I have downloaded the latest drivers from Nvidia's website. Thanks for the help. Will give that a go, wich me luck!
 
OK, hit a light snag... I need to stop server x... i think this is the gui. I am having trouble fining out how. I think it is the GUI of Ubuntu. So I booted into recovery mode (runlevel 1?) and tried to install. I need to be at run level 3... ok... I type sudo telinit 3 and it brings bach the GUI. I need to "stop X" basically before installing the drivers and be in runlevel 3. Any ideas? Thanks
 
ctrl-alt-backspace will kill X but you also need to stop gdm.

You can login at the console with your normal user on ctrl-alt-f1 to f5 and issue these commands.

So go to say ctrl-alt-f1 and kill gdm using the following,

sudo killall gdm to kill the gdm process. Then use ctrl-alt-(f5,f7 or f7) depending on your configuration of ttys to switch back to the gui then kill it with ctrl-alt-backspace.

Do all your installation then,

sudo gdm to restart it.

Edit: or using /etc/init.d/gdm stop yep.
 
Last edited:
OK, I stopped x by ctrl+alt+f1 then sudo /etc/init.d/gdm stop. Now when I go to install I accept the terms and then get an error along the lines of cant talk to kernal, and to install the libc development package from the distro. where can I get this and is it needed?

EDIT: just saw your reply there Una... thanks. I managed to find out what you were saying there before you posted it, but I am pretty stuck on this next bit. Any advice? Thanks
 
Im not sure of the package name off-hand,

But sudo apt-cache search libc-dev, or libc6-dev instead.

Then get the name of the package from that list,

sudo apt-get install libc-dev to install it.

Providing your net conn works ok and you can download from the repos.

You could also install it from the GUI (Syntaptic) if you feel more confortable but this will save you restarting X.
 
Last edited:
Una said:
Im not sure of the package name off-hand,

But sudo apt-cache search libc-dev,

Then get the name of the package from that list,

sudo apt-get install libc-dev to install it.

Providing your net conn works ok and you can download from the repos.

You could also install it from the GUI (Syntaptic) if you feel more confortable but this will save you restarting X.

Cool, thanks. I will give this a go. Back in XP at the mo for a little bit. There is only so much 1024x768 res on a 1440x900 res tft I can take. Gotta get these drivers installed, lol. Thanks for the help. I will try a little later when I have given my eyes a rest.
 
Actually install package build-essential instead of what I said before, that should include all the things you need.
 
sudo apt-get install build-essential

Then you can carry on following the driver install.
 
Hey thanks... that did the trick. The only problem is that it wont allow me to go above 1024x768 in the screen resolution menu. Some new res have appeared and Hz's (actually quite low, 50/52/54) but I need 1440x900.

Any ideas?

Thanks once again for your help.
 
OK, I found a workaround. I have gone to applications > system tools > Nvidia X Server Settings, and got 1440 x 900 @ 60Hz 32bit here. I can apply but cannot save as I do not have access to xorg.conf or xorg.conf.backup. I assume that it is the directory (/etc/X11) that I do not have permission to write to. How can I easily get temporary access to modify this folder?

Thanks for the help!
 
you can use "gksudo" to launch window apps in root user mode (as opposed to using sudo in a terminal). so you just need the appname of the nvidia thingy.... :)
 
marc2003 said:
you can use "gksudo" to launch window apps in root user mode (as opposed to using sudo in a terminal). so you just need the appname of the nvidia thingy.... :)

Awsome, thanks for that one. I have been playing around though and it looks as though things have gone from bad to worse. I found that clicking apply insted of save to x.conf or whatever it was allowed me to "while in session" have the correct res. To make it permininent I thought i would then do ctrl alt f1, sudo init 1 and then startx. This let me go in as root. I then save the x.conf file. All went weird there. For the user account I set up when I now click apply for the res it all goes wrong and then reverts back, I also remember tampering with file permissions and things also. I think the problem exists between chair and keyboard. I shall re-install with the new knowlege I have and see how it goes. Thanks for your help.
 
sudo vim /etc/X11/xorg.conf

You prolly don't want to use vim though so replace with your own text editor.
(nano,pico,gedit etc..)

Edit the resolutions and restart GDM and from then on it "should" work correctly. You also might need to change the driver option to the correct one you just installed.
 
Una said:
sudo vim /etc/X11/xorg.conf

You prolly don't want to use vim though so replace with your own text editor.
(nano,pico,gedit etc..)

Edit the resolutions and restart GDM and from then on it "should" work correctly. You also might need to change the driver option to the correct one you just installed.

Thanks for the help, may give that a go. Linux is interupting my mirrored raid array at the mo so I am getting a laptop soon and trying it on that. I dont wanna really mess arround with what I am not familiar with with sensitive data. It is odd though as I puposley did not mount the disks in linux, yet I reboot and the RAID's bois shows problems and I need to rebuild each time.

Thanks for the help
 
Back
Top Bottom