LinuxQuestions.org
Visit Jeremy's Blog.
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 06-18-2006, 11:50 AM   #1
mike9287
Member
 
Registered: May 2006
Location: North England
Distribution: Mandriva
Posts: 64

Rep: Reputation: 15
Problem installing Nvidia Ge force drivers - X server


Hello,

I am having some trouble installing my Nvidia drivers, I run the install from the command line and get an error message similar to this:

You appear to be running an X server - please exit this then re-install.

a couple of questions, what is an X server?

also, hwo do I close it down to install the drivers.

cheers

Mike
 
Old 06-18-2006, 12:12 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Login as root on the command line and run:
# init 3
or
# telinit 3
 
Old 06-18-2006, 12:29 PM   #3
mike9287
Member
 
Registered: May 2006
Location: North England
Distribution: Mandriva
Posts: 64

Original Poster
Rep: Reputation: 15
Hi,

Thanks for the reply, I did that and they I got some new errors, they mentioned the Kernel source files and offered to download via FTP but couldnt find a match then exited. Also whats the proper way to exit the command line that init 3 sends you too. exit didnt work.

Thanks again

Mike
 
Old 06-18-2006, 01:28 PM   #4
UK MAdMaN
Member
 
Registered: Jul 2004
Location: Manchester, England
Distribution: Gentoo
Posts: 211

Rep: Reputation: 30
The X server is what allows the GUI to run. Init 3 shuts this down and sends you to a full command line environment, which is why typing "exit" does nothing. To get back into the GUI you need to type startx (remember to change back to your user account first, using su <username>).

The problem with the kernel source files sounds like you don't have them installed. You'll need to install them before the driver will install.
 
Old 06-18-2006, 01:47 PM   #5
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Mandriva should provide a kernel-source RPM or kernel.SRC.RPM or some sort of kernel headers rpm (kernel-devel RPM?). Install that and it should fix the driver requirements.

If you ran 'init 3' you are switching to Runlevel 3. There are 5 (or so) runlevels where typically 3 is console text only and 5 is graphical with X-server. Since you ran 'init 3' you should run 'init 5' to get it back. Open '/etc/inittab' to see what default runlevel is set.
 
Old 06-18-2006, 02:00 PM   #6
mike9287
Member
 
Registered: May 2006
Location: North England
Distribution: Mandriva
Posts: 64

Original Poster
Rep: Reputation: 15
Thanks to both.

Do I get these files from the Mandriva website? I will check now, if there is somewhere else I should get them then please let me know, if not then thanks again for the replies. #

Mike
 
Old 06-18-2006, 02:09 PM   #7
mike9287
Member
 
Registered: May 2006
Location: North England
Distribution: Mandriva
Posts: 64

Original Poster
Rep: Reputation: 15
Hi again,

is it one of these files below

http://rpmfind.net/linux/RPM/Arnaud_...driva.com.html
 
Old 06-18-2006, 02:13 PM   #8
mike9287
Member
 
Registered: May 2006
Location: North England
Distribution: Mandriva
Posts: 64

Original Poster
Rep: Reputation: 15
Oh, BTW I installed some generic drivers when I first installed Mandriva, will I need to remove them to install these new ones?
 
Old 06-18-2006, 03:26 PM   #9
UK MAdMaN
Member
 
Registered: Jul 2004
Location: Manchester, England
Distribution: Gentoo
Posts: 211

Rep: Reputation: 30
Quote:
Originally Posted by mike9287
Hi again,

is it one of these files below

http://rpmfind.net/linux/RPM/Arnaud_...driva.com.html
The ones with kernel-source in the name are the ones you'll need, as long as your kernel is the same version as in the filename. To find out what kernel version you're running, type "uname -r" on the command line.
 
Old 06-18-2006, 04:58 PM   #10
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
Quote:
Originally Posted by mike9287
Oh, BTW I installed some generic drivers when I first installed Mandriva, will I need to remove them to install these new ones?
You will need to re-install the nvidia driver whenever you have installed a new kernel.

For reasons I never understood, if you already have the kernel-sources installed, the newer version appears in the updates/upgrades section when using the software manager in the mandriva control centre aka MCC aka Configure my computer. The actual kernel (the newer version) is available in the RPMDrake+ section (packages available for install) for some reason.

You'd then need to either know where the nvidia driver package is located or where you downloaded it too (lets presume in /home/user).

So then you just open a konsole/terminal window and do the init 3 command already mentioned earlier (you probably need to be "su'd" to root anyway but if not, when it's dropped you to the terminal window, if the prompt finishes in $ you will need to issue su then hit enter and input the root password - the prompt should have changed to one that finishes with a #).

Then just to make sure you're in the right place, do "cd /home/user" (without the quote marks). then you are free to do the execute command which can be found in the readme file at nvidia.com (in the linux drivers section). You should be asked to accept the licence (arrow keys and enter) then it does some stuff, it might ask some yes/no questions obviously you need yes answers and it tells you that you're ready to go.

I used to make a list of the stages and include any important bits I might need to remember like the path to the package (where it's located), the command for executing it (sh NVIDIA-Linux-x86.........pkg1.run) plus the kernel version package number (kernel-2.6.15-23.mdk or whatever). Plus whether you're in graphical mode or a terminal window, you can find out whether you're booted into the right kernel by issuing the "uname -r" command (no quotes of course).

for software repositories/mirrors go to easyurpmi and literally follow the instructions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problem installing nvidia drivers in 2.6.0 Marcan Linux - Software 12 07-20-2006 02:55 AM
Problem with Nvidia drivers an x-server jirajara Debian 3 09-15-2005 08:24 AM
Cannot get nVidia drivers to work with Ge Force 4 card Draylath MEPIS 5 07-02-2005 08:02 AM
problem installing nvidia drivers.. kurrupt Debian 3 07-25-2004 07:44 AM
problem..installing nvidia drivers ironz Linux - Newbie 5 06-30-2003 11:15 PM

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

All times are GMT -5. The time now is 09:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration