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 01-10-2006, 02:32 PM   #1
mib2k
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
How can i stop the X Server in order to install a display driver?


Hi guys
i was wondering how i could close the Xserver in order to install the display drivers for my nVIDIA GeForce MX4000
I have tryed following the instructions provided by the ppl form nVIDIA but i run into a bit of a problem...

I'm running SUSE 9.1 on a AMD sempron 2200+ with a ASUS K7v8x-x MB
512MB DDR, 80GB HDD, nVIDIA Geforce MX4000 128MB,

The instructions to install the drivers were:

1) Kernel sources must be installed and configured. Usually this means installing the 'kernel-source', 'make' and 'gcc' packages with YaST2. Update it - if not already done - via YaST2 Online Update (YOU).

2) Use the nvidia installer for 1.0-8178.

sh NVIDIA-Linux-x86-1.0-8178-pkg1.run -q

3) Configure XFree86 with

sax2 -m 0=nvidia (0 is a digit, not a letter!)

NOTE: There is no need to try to enable 3D support. It's already enabled, when the nvidia driver is running.

THE ERROR I GET WHEN TRYING TO RUN THE FIRST COMMAND sh NVIDIA... etc IS THIS

NVIDIA Accelerated Graphics Driver for Linux-x86 (1.0-8178)

ERROR: You appear to be running an X server; please exit X before installing. For further details, please see the chapter "Installing the NVIDIA Driver" in the README available on the Linux driver download page at www.nvidia.com.
OK

NVIDIA Software Installer for Unix/Linux www.nvidia.com


i WOULD APPRECIATE IF YOU COULD TELL ME HOW TO TURN OFF THE xSERVER SO THAT I WOULD BE ABLE TO INSTALL DISPLAY ADAPTER.

Thank you!!
 
Old 01-10-2006, 02:38 PM   #2
accessrichard
Member
 
Registered: Apr 2005
Distribution: Fedora Core (latest version)
Posts: 156

Rep: Reputation: 30
Login as root in in a consol screen, (hit ctrl-alt-F1 for example from X and login as root) and type

init 3

and when you are done running the sh nvidia-installer type

init 5

What you are doing is changing the runlevel.


Here is a guide in my /etc/inittab file in Fedora that explains this,

# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)

Last edited by accessrichard; 01-10-2006 at 02:54 PM.
 
Old 01-10-2006, 03:12 PM   #3
mib2k
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks i managed just fine without finding the init file i jsut used the CTRL+ALT+F1 and set the init to 3 installed the driver and then set it back to 5 and it works great.

Thanks alot!!!
 
Old 01-12-2012, 10:43 AM   #4
chriszuma
LQ Newbie
 
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
Sorry to resurrect such an old thread, but does changing the runlevel with "init" kill any X11 programs that are running by other users?

Thanks!
 
Old 03-15-2012, 11:50 AM   #5
vanvanero
LQ Newbie
 
Registered: Mar 2012
Posts: 3

Rep: Reputation: Disabled
success

thanks so much. this worked perfectly

cheers





Quote:
Originally Posted by accessrichard View Post
Login as root in in a consol screen, (hit ctrl-alt-F1 for example from X and login as root) and type

init 3

and when you are done running the sh nvidia-installer type

init 5

What you are doing is changing the runlevel.


Here is a guide in my /etc/inittab file in Fedora that explains this,

# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
 
  


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
Stop X and install nvidia driver TitaniumTaz Linux - Hardware 13 07-24-2005 03:22 PM
FC3 - Which X server / display driver mackayr Fedora 4 02-07-2005 02:27 PM
How do I stop the X server in RedHat 9 in order to load VGA drivers?? gammad Linux - Newbie 1 01-22-2004 10:04 AM
How do i restart the X server ? in order to install my Graphic drivers waheedrafiq Linux - Software 3 01-01-2004 05:02 PM
Install drivers. How to stop x-server? aroneous54 Linux - Software 11 05-07-2003 02:28 PM


All times are GMT -5. The time now is 12:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration