PDA

View Full Version : [ubuntu] wtf nvidia must be run as root...



I WILL DO IT
September 16th, 2009, 09:52 AM
am trying to run a .run file....

Paqman
September 16th, 2009, 09:58 AM
What are you actually trying to do? Install Nvidia drivers? If so, go to System > Admin > Hardware drivers and use that to install.

Mike_IronFist
September 16th, 2009, 10:00 AM
am trying to run a .run file....

Oooh. Installing the NVIDIA drivers downloaded from the website requires a little bit of advanced knowledge. Don't try to do that unless you're sure you can't use the drivers from "System -> Administration -> Hardware Drivers"

nhasian
September 16th, 2009, 10:40 AM
i also suggest using the built in nvidia drivers. if you _do_ want to install the binary drivers from nvidia's website you have to do a few things. this is from memory so i hope i dont miss any steps:

1) mark the .run file as executable with chmod +x
2) press ALT-Control-F2 to drop to a terminal
3) stop the graphical display with:


sudo /etc/init.d/gdm stop

4) then run your nvidia installation script.
5) return to the gnome desktop with:


sudo /etc/init.d/gdm start

not too difficult but the cumbersome thing is you have to redo the nvidia driver every time you update the kernel.

Mike_IronFist
September 17th, 2009, 05:42 AM
i also suggest using the built in nvidia drivers. if you _do_ want to install the binary drivers from nvidia's website you have to do a few things. this is from memory so i hope i dont miss any steps:

1) mark the .run file as executable with chmod +x
2) press ALT-Control-F2 to drop to a terminal
3) stop the graphical display with:


sudo /etc/init.d/gdm stop

4) then run your nvidia installation script.
5) return to the gnome desktop with:


sudo /etc/init.d/gdm start

not too difficult but the cumbersome thing is you have to redo the nvidia driver every time you update the kernel.

I think you should note that the command to run the nvidia script is "sh name.run" (without the quotes), that the user must pick YES when asked to update their X config file, and that rebooting is safer than trying to restart gdm while the system is still running.

Oh yeah, and if the script is copied to your home folder, IWILLDOIT, you can just enter in the name of it, you don't have to enter the path to it.

nhasian
September 17th, 2009, 12:01 PM
i dont remember having to type sh before the command. i just did ./xxx.run whatever the version of the display driver was... anyway yeah your right, probably best to reboot with:


sudo shutdown -r now

anyway, not bad from memory eh? I last did that back when i was running 8.04 before 8.10 came out. ever since I upgraded to 8.10 and beyond i always just used the drivers from the repos.


I think you should note that the command to run the nvidia script is "sh name.run" (without the quotes), that the user must pick YES when asked to update their X config file, and that rebooting is safer than trying to restart gdm while the system is still running.

Oh yeah, and if the script is copied to your home folder, IWILLDOIT, you can just enter in the name of it, you don't have to enter the path to it.