LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Nvidia Video Driver (http://www.linuxquestions.org/questions/linux-software-2/nvidia-video-driver-462210/)

Naperian 07-08-2006 08:59 PM

Nvidia Video Driver
 
Hello U all, folks.

I am trying to install Nvidia graphics accelerator driver as this

cd/mnt cdrom
sh NVIDIA-Linux-x86-1.0-8762-pkg1.run

The file is self extracted and gives the following error message:

nvidia-installer must be run as root.

I tried to access the /root folder and access was denied. Also, I tried to paste the file to usr/bin in order to run the file from this folder w/ no suscess.

Any advice? :confused:

THX

Naperian 07-08-2006 09:04 PM

Sorry, Red hat 9.0

THX

nadroj 07-08-2006 09:07 PM

Quote:

nvidia-installer must be run as root.
which distro are you using? you'll need to use either 'su' or 'sudo' to switch to root and run the command. for example try this:
Code:

$su [enter]
$(type root password) [enter]
#sh NVI......rpm [enter] (after install, then 'exit')
#exit [enter]
$

note the $ and # signs. these represent your user prompt at your terminal window; do not type these. $ means that your operating as a 'normal' user (ie a user with alot less priveledges/access to parts of the system), the # represents the root user. if you arent sure what the root user is, check it out as itll be very important! heres a link from the SlackBook

good luck!

BTW, please let us know your linux distribution your running, by editing your user profile and adding it to the Distribution section. thanks

EDIT: ok i guess you posted it after! thanks

Naperian 07-08-2006 09:39 PM

Another error
 
Now is telling me that I am on X-Servers and ask me to exit the X before installing. :confused:

Thanks

nadroj 07-08-2006 09:44 PM

Xserver is basically the program that creates the GUI. in the nvidia readme it tells you you have to exit X first. so, either press CTRL + ALT + BACKSPACE to kill X and get to the console, or in a terminal window, run 'su' then 'init 1' to bring the system to single user mode, with no GUI.

after getting to the black and white console, then try agian. youll probably have to 'su' before running 'sh NV...'

Naperian 07-08-2006 10:13 PM

I identified the inittab file, but I cannot change to level 1. Any suggestions?

Thanks!

nadroj 07-08-2006 10:15 PM

Quote:

Originally Posted by nadroj
so, either press CTRL + ALT + BACKSPACE to kill X and get to the console, or in a terminal window, run 'su' then 'init 1' to bring the system to single user mode, with no GUI.

what about inittab? did you edit it? that would be one way to do it, edit the file (as root), change the default runlevel, save, reboot, then you can start the nvidia driver installation. youll need to edit the file again and change the default runlevel back to what you had. the method i posted previously is quickest.

Naperian 07-08-2006 10:33 PM

Linux did not let me edit the inittab file. I tried emacs as editing tool w/ no suscess. As a consequence, I cannot change the boot level.

Thanks.

nadroj 07-08-2006 10:38 PM

please read what im saying. my last post explains it all.

you cant edit the file because you dont have permissions.. use 'su'.

the quickest way, as ive said already is to press CTRL + ALT + BACKSPACE at the same time, which will kill X and bring you to the console. then run 'su' and 'sh NV...', again, as ive already said.

help me, help you. (sorry for the lame expression but its true)

Naperian 07-08-2006 10:51 PM

nadroj,

First of all, this is my first time using linux. So, I dont know nothing about this OS.

When I hit CRTL-ALT-Backspace, X its kill but no console comes up. "su" can be only used on the console so, how can I edit the file from there?

As a final note, this dummy (I say, ME) is trying to escape from MS prison and evolve. When I get there and some folk come to me w/ some Linux question, I will not use any lame expression, thou.

Have a good one.. :)

nadroj 07-08-2006 11:35 PM

when you press CTRL ALT BACKSPACE and X is closed, what do you see? is it a black and white screen that looks like Microsoft DOS and can you type in it?

daihard 07-08-2006 11:39 PM

Quote:

Originally Posted by nadroj
when you press CTRL ALT BACKSPACE and X is closed, what do you see? is it a black and white screen that looks like Microsoft DOS and can you type in it?

If he uses GUI login (i.e. init 5), then killing X via <Ctrl> + <Alt> + <backspace> will restart the GUI login screen. He needs to set the init level to 3 and reboot the computer.

nadroj 07-08-2006 11:40 PM

iv previously told him to use init.. and how to edit /etc/inittab.

cs-cam 07-08-2006 11:42 PM

Maybe you could install a more recent distro that would probably have a package for the nvidia driver making it a lot easier to install. Redhat 9 was released in 2003 which in computing terms is very old.

rkelsen 07-09-2006 12:10 AM

Quote:

Originally Posted by cs-cam
Redhat 9 was released in 2003 which in computing terms is very old.

Very true. There have been many developments since 2003. You're really cheating yourself by not installing something newer.


All times are GMT -5. The time now is 06:14 AM.