LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-16-2003, 09:09 PM   #1
dparson
LQ Newbie
 
Registered: Oct 2003
Location: Indianapolis
Posts: 1

Rep: Reputation: 0
What command to shutdown XFree86 in Redhat 8?


I'm trying to troubleshoot my XFree86 config on a Redhat 8 box, trying my best to achieve 1024x768 @ 85Hz on an Intel i810 integrated chipset.

What I'd like to do is shutdown X, make a change to the XF86Config file in a text shell, then start X back up. Unfortunately I'm a newbie and don't know the tricks, and the basic Ctrl-Alt-Backback keystroke simply restarts X rather than shutting it down. I need a true shutdown of X since my video problems are distorting the screen...I need the video card to revert back into whatever mode it uses during run level 3.

The fanciest thing I've tried is getting the PID of the X process and killing it, but that resulted in a system lockup. Just need the command which shuts down X gracefully.

Thanks all.
 
Old 10-16-2003, 09:37 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
try just opening a terminal, and issuing telinit 3 or init 3 and see if that works....i find it odd that ctrl-alt-backspace restarts X, and if worse comes to worse, and none of the above works, then you can always just open your /etc/inittab file in a text editor and change the line that says :
id:5:initdefault:
to read
id:3:initdefault:
and then reboot and it will automatically bring you to console upon boot....and of course, after your done doing what your doing, you can edit this back to 5 if you wish..
 
Old 10-16-2003, 09:37 PM   #3
killjoy
Member
 
Registered: Mar 2001
Location: Atlanta,GA
Distribution: Red Hat, Mandrake
Posts: 66

Rep: Reputation: 15
try using telinit 3
This will switch you to runlevel 3 for your testing. Then you can use telinit 5 to go back to X
HTH

--doh ya beat me to it

Last edited by killjoy; 10-16-2003 at 09:39 PM.
 
  


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
How to shutdown XFree86 nuj Red Hat 5 07-05-2004 12:12 AM
shutdown command xviddivxoggmp3 Red Hat 5 05-12-2004 04:48 PM
shutdown command mikedelo Linux - Software 7 03-15-2004 08:37 AM
How to shutdown XFree86 Drogo Linux - Software 3 09-08-2003 04:47 PM
Shutdown Command? AMDPwred Linux - General 1 01-25-2002 08:43 PM


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