LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-27-2004, 09:40 PM   #1
reversal
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 14

Rep: Reputation: 0
Nvidia drivers and X server


I'm trying to install Nvidia drivers for Debian, because I can get up to only 800 x 600 resolution, but the error message says "You appear to be running an X server; please exit X before installing." How do I get around this?
 
Old 09-27-2004, 10:15 PM   #2
Slaxx
LQ Newbie
 
Registered: Sep 2004
Location: Purdue University
Distribution: Slackware 10.0
Posts: 11

Rep: Reputation: 0
In order to install the NVidia drivers, X can't be running. If your computer boots into Linux and starts X automatically, here's what I'd do: edit the file /etc/inittab on the line that says "id:5:initdefault:". (note: yours might not say 5) Above that should be a table that says what number corresponds to which user mode. Replace the number on that line with the number corresponding to "multiuser mode" or "full multiuser mode". For example, on my system I would change '5' to '3'. DO NOT set it to 0 or 6! Now reboot. You will have to log in on the command prompt. Then you can install the drivers, and after that modify your X server's config file (usually /etc/X11/XFree86 or /etc/X11/xorg.conf) and change the video card driver line from "nv" to "nvidia". Now you can edit /etc/inittab and restore the original number to get your X login again after a reboot. If your computer doesn't automatically start X, there's probably a really easy way to stop the X server if you have root access. Then you can install the drivers and edit the config file.
 
Old 09-27-2004, 10:29 PM   #3
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
To change runlevel without rebooting the system and editing inittab twice, just type:

init 3
(if you want to be absolutely certain nothing is running, use init 1 instead)
 
Old 09-27-2004, 10:49 PM   #4
reversal
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 2
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks guys, that worked, but then it gave me another error, that it needed a kernel source. So I downloaded and installed the right kernel source, and it's giving me an error.

When I did init 1 that worked, but there was a message that said level 1 was not recommended for the installer because of problems with the kernel source. When I do init 3 though, I start in X.
 
Old 09-27-2004, 11:28 PM   #5
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
try init 2, or once the login prompt appears press ctrl-alt-f1 to get a text console, log in as root, and type /etc/init.d/xdm stop
 
  


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 with Nvidia drivers an x-server jirajara Debian 3 09-15-2005 09:24 AM
Installing nvidia drivers from nvidia website on mepis 3.3 xbennyboy Linux - Hardware 4 04-23-2005 10:19 AM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 06:32 AM
How do i disable X server to install the newest Nvidia drivers? linuxbullet Linux - Hardware 4 02-05-2004 12:16 AM
Suse 9 and NT Proxy server and NVIDIA drivers Joolz34 Linux - Newbie 2 12-08-2003 11:25 AM


All times are GMT -5. The time now is 05:04 PM.

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