LinuxQuestions.org
Help answer threads with 0 replies.
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 08-06-2004, 12:45 PM   #1
Spy47
LQ Newbie
 
Registered: Aug 2004
Location: Talagante, Chile
Distribution: Slackware 10.2
Posts: 22

Rep: Reputation: 15
How to close X server on Redhat 9?


Hi. I'm running Red Hat 9 and I want to close the X server for installing a graphics driver. But when I press Ctrl+Alt+Backspace, after closing, it automatically restart, but the driver won't install if a X session is running.

How can I close it COMPLETELY??? The driver must be installed from the VGA shell.

Thanks in advance.
 
Old 08-06-2004, 01:31 PM   #2
Cron
Member
 
Registered: Jun 2004
Location: Lithuania
Distribution: FreeBSD, Arch, Ubuntu
Posts: 145

Rep: Reputation: 15
Shut down x

Try typing this at root shell:

Code:
# telinit 3
This worked for me when i tried to install nvidia drivers.
 
Old 08-06-2004, 01:41 PM   #3
Spy47
LQ Newbie
 
Registered: Aug 2004
Location: Talagante, Chile
Distribution: Slackware 10.2
Posts: 22

Original Poster
Rep: Reputation: 15
as root:

# telinit 3
bash: telinit: command not found
 
Old 08-06-2004, 01:55 PM   #4
Cron
Member
 
Registered: Jun 2004
Location: Lithuania
Distribution: FreeBSD, Arch, Ubuntu
Posts: 145

Rep: Reputation: 15
Don't know why this does not work, but you also can manually edit your /etc/inittab file:
You need to change this:

Code:
id:5:initdefault:
(assuming your default runlevel is 5)
to this:

Code:
id:3:initdefault
After this you need to reboot your machine. After reboot It will boot only into a shell.
To test if drivers work type startx.
After driver installation you should change it back to normal (unless you prefer shell).
 
Old 08-22-2004, 01:17 PM   #5
richard_ake
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
On my RedHat 8.0 box, I have the same problem. The only way telinit 3 works is if I log into the computer as root. su and su - to root will not let me telinit 3. I get "bash: telinit: command not found" if I su to root or I get nothing if I su - to root.
Here's what does work.

ctrl + alt + F1 gets me to a console screen, sometimes it's a login screen, but sometimes it's a screen that I can not use, typing there is ignored by the system, in that case, alt + F2 (through F6 I think) gets me a new log in screen. I log in there and use that, then alt + F7 returns me to X, unless I had telinit 3 , in which case I have to startx

your mileage may vary.
 
  


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
I need to close x server, how? NoS Sr50 Linux - Newbie 9 09-05-2004 11:29 PM
X server crashes on close mtyrce Linux - Software 3 07-09-2004 05:19 PM
How do I close my X server? kkj Linux - Newbie 2 04-06-2004 01:59 AM
Close X Server? JREAMER Linux - General 3 06-08-2003 07:02 PM
how to keep pppd on during x-server close?? wr3ck3d Linux - Software 2 03-27-2003 10:58 AM


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