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. |
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.
|
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. |
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 |
You might also want to check out: Option "NoLogo" "1" and Option "NvAGP" "1" - in XF86Config - see the readme.
|
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. |
may i surgest sricking the kernel source in
/usr/src/linux-2.4.23/ |
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 |
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. |
just out of interest (and for others with the same problem) what did you have to do to solve this problem ???
|
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!
|
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. |
*Bump*
|
Quote:
|
What?
Quote:
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. |