Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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..
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.
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.
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 That's all folks
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.