LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NVIDIA drivers - How to exit 'X' ? (https://www.linuxquestions.org/questions/linux-newbie-8/nvidia-drivers-how-to-exit-x-125609/)

uneffected 12-13-2003 07:20 PM

NVIDIA drivers - How to exit 'X' ?
 
Ok, so i want to get my latest NVIDIA Drivers, I download them (NVIDIA-Linux-x86-1.0-4496-pkg2.run) and exicute the "sh" command under (su) SuperUser.

The error: You appear to be running an X server; please exit X berfore installing.." etc.

Could someone provide me with detailed instructions as how to exit 'x' ?.. I have like 10 hours of Mandrake 9.2 experence so please dummy it down a notch :P.

Thanks in advance.

linuXBOX 12-13-2003 08:25 PM

First be sure to have the kernel source packages downloaded, then edit /etc/inittab under the line runlevel from 5 to 1, restart, and once in the CLI do the whole "sh nvidia" thing. After it's done, go back and edit /etc/inittab from 1 to 5, restart. I wish you luck, it can be a pain.

d_t_baker 12-13-2003 08:30 PM

well when mandrake starts, it normally runs 'kdm' the Kde Desktop Manager. This is running on the X server which Nvidia is complaining about. What you have to do is switch to a terminal other than the current one (with Ctrl+Alt+F1) log in as root and then type

/etc/init.d/dm stop

or if that dosnt work

/etc/init.d/kdm stop

This will stop the graphical display and now all you have to do is

./NVIDIA-Linux-x86-1.0-4496-pkg2.run

and it will install. (sometimes you will need to be connected to the internet for install to work as well)

Read the readme file after an install to see the four lines you have to change in /etc/X11/XF86Config-4

Then either reboot you machine or type

/etc/init.d/dm start

PTN: The /etc/init.d/ directory contains startup scripts for most of the major programs that run as deamons on your computer. Have a look through, u will learn something.

Have fun

Dave.

Linux - Who needs Lego.

wiraone 12-14-2003 07:09 AM

Logon as root from your virtual terminal 1 (ctl-alt-F1), and use the following

To shutdown X
$ init 3

.. do whatever you want to do here ...

To bring up X
$ init 5

..
If you're trying to install NVidia driver on Fedora Core 1, please check Fedora forum, I've posted my reply on how to do this there .. but I guess installation should be generic to all distributions

mymojo 12-14-2003 09:18 AM

You might also want to check out: Option "NoLogo" "1" and Option "NvAGP" "1" - in XF86Config - see the readme.

uneffected 12-14-2003 05:45 PM

Thanks for the quick responces.. One more hurdle... I have downloaded the linux-2.4.23.tar.bz2 source (I hope thats the default kernel for Mandrake 9.2) NVIDiA asks for the source.. but I don't know what folder to keep it in..

Thanks in advance.

qwijibow 12-14-2003 06:17 PM

may i surgest sricking the kernel source in
/usr/src/linux-2.4.23/

d_t_baker 12-14-2003 06:36 PM

Well, I had to build my own kernel from scratch in order to get NVidia drivers to work (since I couldnt compile a kernel module or download one from the internet). This was good because now my computer sorta runs the way I want it to, however it was a big pain to get the kernel working.

If you are really after the performance boost of the NVIDia drivers then I suggest you also look into building your own kernel before hand. If you do this, then installing NVidia drivers becomes a breze.

Dave

uneffected 12-14-2003 07:22 PM

SOLVED!
 
Hey, this was my first post in the fourm, and I really appreciate all you peoples help, a simple answer for you, but a huge problem solved for me!..

Again, thanks for the help, hopefully I can contribute someday.

qwijibow 12-14-2003 09:40 PM

just out of interest (and for others with the same problem) what did you have to do to solve this problem ???

TSGarp 12-30-2003 03:08 PM

This just saved me a HUGE headache on my second day of Linux land. Thanks a million to all the people who helped above. You helped me, as well. Thanks!

mtotten 12-31-2003 01:45 AM

I am also trying to update my NVidia driver, but I'm using Mandrake 9.2, I tried all these suggestions but I keep getting Permission Denied. I even tried doing it logging in as root. I am trying to install 5328 drivers, the newest ones for linux.

Thx for any help.

mtotten 12-31-2003 11:08 AM

*Bump*

Kamper 01-01-2004 11:36 PM

Quote:

Originally posted by mtotten
I am also trying to update my NVidia driver, but I'm using Mandrake 9.2, I tried all these suggestions but I keep getting Permission Denied. I even tried doing it logging in as root. I am trying to install 5328 drivers, the newest ones for linux.

Thx for any help.

You have to change permition. When you are in the directory with driver, type: chmod 755 NVIDIA* and you will be able to run this :D That's all folks ;)

pipelok-j 01-03-2004 08:06 AM

What?
 
Quote:

Originally posted by linuXBOX
First be sure to have the kernel source packages downloaded, then edit /etc/inittab under the line runlevel from 5 to 1, restart, and once in the CLI do the whole "sh nvidia" thing. After it's done, go back and edit /etc/inittab from 1 to 5, restart. I wish you luck, it can be a pain.
Execuse me, what are the 'kernel source packages' you mean?
The Nvidia kernel source package or what?

"There is only a single file to download:
NVIDIA-Linux-x86-1.0-1.0-5328-pkg1.run. This contains
everything previously contained by the old NVIDIA_kernel and NVIDIA_GLX
packages." - Says the Nvidia README-text.
You probably dont mean NVIDIA_Kernel?
I have this same problem as uneffected has.(or had)
What should i do to exit the X server? I tried to CTRL + ALT + BACKSPACE,
but it just rebooted(?) and asked my login,password like normally.


All times are GMT -5. The time now is 10:54 PM.