PDA

View Full Version : Exiting X


guntario
04-12-03, 07:12 AM
Let me begin. This is day one using Linux... I would like to try to update my video drivers but I have no clue what the readme is talking about. Here's where I'm stuck.

INTRODUCTION TO THE NEW NVIDIA DRIVER INSTALLER

After you have downloaded NVIDIA-Linux-x86-1.0-4349.run,
begin installation by exiting X, cd'ing into the directory containing
the downloaded file, and run:

sh NVIDIA-Linux-x86-1.0-4349.run


How do I exit X? I am running RH9

bwkaz
04-12-03, 08:18 AM
Do you boot to a graphical login? If so, you can exit X by opening a terminal, using su - and typing in your root password when asked (to become root), then doing init 3 or telinit 3.

If you don't boot to a graphical login, then just log out of X by quitting your window manager (twm/icewm/Enlightenment/something else) or desktop environment (Gnome/KDE/whatever).

guntario
04-12-03, 09:16 AM
Pulled up a terminal and did su, but when I typed init3, and telinit3, nothing happened. I am using a graphical login by the way.

bwkaz
04-12-03, 10:14 AM
You need a space between init and 3. BTW -- "nothing" did not happen. You got an error message, probably "bash: init3: command not found". That's not extremely important in this case, but in the future, it would be. For example, if you type "init 3" (with the space), and you get "bash: init: command not found", then there are other things to try, but if you try that and nothing actually happens, then that's because you're already at runlevel 3 (but you're not, you already said you used a graphical login, which is runlevel 5).

guntario
04-12-03, 11:31 AM
bash: init: command not found

This is what happens, just as you said. What next?

bwkaz
04-12-03, 03:39 PM
/sbin/init 3

Did you use su -, or just plain su? You could also do a su -, then init 3.

guntario
04-12-03, 05:31 PM
you know, I ran the driver file from the terminal and then updated my config file using the text editor for RH9, and it seems to be working now. I didn't even have to exit X. Thanks for your help...:) :) :)

bwkaz
04-12-03, 07:56 PM
That's ... odd...

Oh, were you not running the driver already? If not, then you don't need to exit X. If you are using a version of the driver, then the kernel module won't unload, and if it won't unload, the new one can't be loaded. So the installer will complain if the module is there and X is running -- that's why that bit is in the instructions.

If you install an upgrade, you'll have to do it after exiting X, though.