LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-22-2004, 09:54 PM   #1
distortedstar
Member
 
Registered: Jan 2004
Location: West Texas
Distribution: Ubuntu 7.04/MythDora 4/PuppyLinux
Posts: 78

Rep: Reputation: 15
Quitting X


I would love to exit out of X so I can install my nvidia driver, however, i can't figure out how to do it. I vaguely remember using the xinit command last time I tried this (before my hard drive crashed and I had to reinstall Red Hat 9) but when i try it i get this error:

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

I sure could use some help...

--Nathan
 
Old 03-22-2004, 10:07 PM   #2
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
There may be another way, but this is how I would do it. Open up your "/etc/initab" file, and change the runlevel. In Red Hat the runlevel for a text login should be "4", but I'm not 100% sure. However, your initab file will tell you what the correct runlevel is for a text login. Now save the file, reboot your computer, install the driver, and change the runlevel back to where it was.
Noah
 
Old 03-22-2004, 11:41 PM   #3
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
Here's a much easier way. Hit alt+ctrl+F6 and login as root. Then type 'telinit 3' and go to the directory with the drivers and run them from there. I think that might save some time.
 
Old 03-23-2004, 07:57 AM   #4
njbrain
Member
 
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
I already did that before, but X was still running in the background. But, it was quite a while ago, so I may have been doing something wrong.
Noah
 
Old 03-23-2004, 08:01 AM   #5
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
Odd. Perhaps you could try telinit 1 or find where the init script is for the display manager you're using and hit alt+ctrl+F6 and then type:

/etc/path-to-init-file stop
 
Old 03-23-2004, 09:29 AM   #6
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Simple solution:

Open a console and su to root or switch to a virtual console and login as root.

Type:
init 3
as root.

Install nvidia drivers.
When done, type:
init 5

Simple as pie.
 
Old 03-25-2004, 04:39 PM   #7
distortedstar
Member
 
Registered: Jan 2004
Location: West Texas
Distribution: Ubuntu 7.04/MythDora 4/PuppyLinux
Posts: 78

Original Poster
Rep: Reputation: 15
thanks

Thanks everyone for the suggestions...I tried the first idea (changing /etc/inittab) and it worked great, and I've found the alt+ctrl+F6 to be useful. Thanks again!
 
  


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
Force Quitting RichMan1 Linux - Newbie 3 03-08-2005 12:21 AM
Rhythmbox quitting on me cneal Linux - Software 2 10-27-2004 12:28 PM
Garbaged console after quitting X raccoon Linux - Newbie 7 03-03-2004 06:17 AM
Quitting Links 2 freezes my computer Artimus Linux - Software 0 05-09-2003 05:00 PM
Quitting X lokee Linux - Newbie 3 02-03-2003 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:15 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