Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 10-01-2007, 11:00 AM   #1
LQ Newbie
Registered: Jun 2006
Posts: 21

Rep: Reputation: 15
Nvidia driver install problem with x server

Okay, so i downloaded the Nvidia driver for my quadro2 mxr card. I go to run the install package but it tells me that it can't be installed with x server running, so I "init 1" to change to run level 1 and no x server. Then I run the install again but this time it says that "run level 1 may cause problems because some distributions that use devfs don't run the devfs daemon in run level 1. Making it difficult for 'NVidia-installer' to correctly setup the kernal module configuration files." then it recommends me to change to runlevel 3. So I do, but it brings me back to the gui, which means the x server is running again.

So I guess my question is, how do I get to a command prompt where I can run this installer but not have the x server running??? I've tried run level 1, 2, 3, 4, and 5.

Thanks in advance for any help.
Old 10-01-2007, 12:55 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,896

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
That is odd behavior for 'init 3' to take you to gui mode. Which distro are you using?
Old 10-01-2007, 11:22 PM   #3
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
In which subforum is this posted And Ubuntu does things different (don't ask me why).

This will probably work:
  1. Boot the normal way but don't login at the graphical user interface
  2. Switch to a console (press <ctrl><alt>Fx> where X is 1..6) and login
  3. Type sudo /etc/init.d/gdm stop and press <enter>
  4. Install the driver
  5. Type sudo /etc/init.d/gdm start and press <enter>
  6. Not sure if you will get the graphical interface after the last command; if not, you can try to switch to to the graphical environment using <ctrl><alt><F7>

Please note that this applies to Ubuntu and will more than likely be incorrect for Kubuntu or Xubuntu (try to replace gdm with kdm if you use Kubuntu)

You might still have to configure X afterwards.

If it does not work, pleaae post which Ubuntu version your using (Ubuntu, Kubuntu, ...; 6.06, 7.04, ...)
Old 10-02-2007, 09:44 AM   #4
LQ Newbie
Registered: Jun 2006
Posts: 21

Original Poster
Rep: Reputation: 15
Ubuntu 7.04 feisty fawn. Wim, that worked great, thank you much. I'm still running into problems with installing this driver though. Doing what you said finally lets me start the installer. But when it starts to compile a kernal for me it then returns this error message:

ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

I'm not really sure what this means or how to fix it. Any suggestions while I continue to try and work it out?
Old 10-02-2007, 02:58 PM   #5
Registered: Oct 2005
Location: Scotland, UK
Distribution: Kubuntu 9.10, ubuntu 8.04.2 server
Posts: 156

Rep: Reputation: 30
go into synaptic and install the resticted modules and kernel modules for you kernel. then try again, this should fix it


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
Failed to Start X server after Nvidia driver install B4lulu Linux - Newbie 4 08-31-2007 08:16 AM
Nvidia Problem: can't install nvidia driver for FC6 Chuong Linux - Software 7 10-30-2006 05:43 AM
Nvidia driver install problem. Portlyman Linux - Newbie 3 03-31-2006 11:16 AM
disabling x server to install nvidia driver erick6220 Linux - Software 1 12-06-2004 06:25 PM
Exiting X server to install nvidia driver odogg Linux - Newbie 1 11-26-2003 01:05 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:42 PM.

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