LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-13-2003, 07:20 PM   #1
uneffected
LQ Newbie
 
Registered: Dec 2003
Location: Alberta, Canada
Distribution: Mandrake 9.2
Posts: 12

Rep: Reputation: 0
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.
 
Old 12-13-2003, 08:25 PM   #2
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
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.
 
Old 12-13-2003, 08:30 PM   #3
d_t_baker
Member
 
Registered: Oct 2003
Location: AU
Distribution: Ubuntu
Posts: 57

Rep: Reputation: 15
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.
 
Old 12-14-2003, 07:09 AM   #4
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
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

Last edited by wiraone; 12-14-2003 at 07:11 AM.
 
Old 12-14-2003, 09:18 AM   #5
mymojo
Member
 
Registered: Oct 2003
Distribution: Slackware 9.1
Posts: 176

Rep: Reputation: 30
You might also want to check out: Option "NoLogo" "1" and Option "NvAGP" "1" - in XF86Config - see the readme.
 
Old 12-14-2003, 05:45 PM   #6
uneffected
LQ Newbie
 
Registered: Dec 2003
Location: Alberta, Canada
Distribution: Mandrake 9.2
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 12-14-2003, 06:17 PM   #7
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
may i surgest sricking the kernel source in
/usr/src/linux-2.4.23/
 
Old 12-14-2003, 06:36 PM   #8
d_t_baker
Member
 
Registered: Oct 2003
Location: AU
Distribution: Ubuntu
Posts: 57

Rep: Reputation: 15
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
 
Old 12-14-2003, 07:22 PM   #9
uneffected
LQ Newbie
 
Registered: Dec 2003
Location: Alberta, Canada
Distribution: Mandrake 9.2
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 12-14-2003, 09:40 PM   #10
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
just out of interest (and for others with the same problem) what did you have to do to solve this problem ???
 
Old 12-30-2003, 03:08 PM   #11
TSGarp
LQ Newbie
 
Registered: Dec 2003
Location: Henderson, KY
Distribution: Mandrake 9.2
Posts: 2

Rep: Reputation: 0
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!
 
Old 12-31-2003, 01:45 AM   #12
mtotten
LQ Newbie
 
Registered: Dec 2003
Location: South Bend, Indiana
Distribution: Mandrake 9.2
Posts: 13

Rep: Reputation: 0
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.
 
Old 12-31-2003, 11:08 AM   #13
mtotten
LQ Newbie
 
Registered: Dec 2003
Location: South Bend, Indiana
Distribution: Mandrake 9.2
Posts: 13

Rep: Reputation: 0
*Bump*
 
Old 01-01-2004, 11:36 PM   #14
Kamper
LQ Newbie
 
Registered: Dec 2003
Location: Brooklyn
Distribution: PLD
Posts: 6

Rep: Reputation: 0
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 That's all folks
 
Old 01-03-2004, 08:06 AM   #15
pipelok-j
LQ Newbie
 
Registered: Jan 2004
Location: Finland
Distribution: SuSE Linux 8.2
Posts: 8

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing nvidia drivers from nvidia website on mepis 3.3 xbennyboy Linux - Hardware 4 04-23-2005 09:19 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM
Cant Exit Xwindows to install Nvidia Driver sendas4 Linux - Newbie 2 05-30-2004 08:52 PM
Exit KDE - need to install NVidia driver avarweth Linux - Software 1 02-20-2004 02:04 PM
nvidia drivers / nv vs nvidia & TNT2 trekk Fedora 0 01-26-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration