LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-25-2002, 10:39 PM   #1
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
Shutting down the Xserver after booting in runlevel 5


hi all. I'm wondering if it is possible to completely log out and shut down the graphical Xwindow interface after you started Linux in runlevel 5. ctrol+alt+backspace obviously doesn't shut down the gui interface, it restarts it.
Should this be done by login in through the text interface and then killing Xwindow?, or is this way not the right one, and/or is there another way??
thanks.
 
Old 10-25-2002, 11:28 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
look in /etc/inittab file for a clue on respawing pre-fgm or something along these lines (it should also contain 5 as a runlevel) comment out the line and you are safe to shutdown X by hitting ctl-alt-backspace. I don't remember wht are these lines anymore cause I switch to slackware and gentoo which are defaulted to runlevel 3 and there is no indication of pre-fdm
 
Old 10-25-2002, 11:30 PM   #3
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Original Poster
Rep: Reputation: 45
alright, I'll check it out. thanks for the response,
 
Old 10-25-2002, 11:33 PM   #4
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Well, I think KILLING the X process should get you in a text mode without restarting X... not sure,don't remember how RH act when you kill his GUI.
 
Old 10-26-2002, 04:58 AM   #5
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
In xterm (or whatever console) as root, write:
telinit 3 (or whatever runlevel to get out of x)
 
Old 10-26-2002, 04:58 AM   #6
aliensub
Member
 
Registered: Apr 2002
Location: Denmark
Distribution: OS X
Posts: 306

Rep: Reputation: 30
This will get you to another runlevel and killing the xserver
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Odd behavior switching to runlevel 3 or shutting down sntnlz Linux - Hardware 4 11-28-2005 10:19 PM
Beeps when booting up or shutting down M.Brice SUSE / openSUSE 1 09-09-2005 06:33 AM
Can't Xserver at booting satimis Linux - General 2 07-03-2004 06:30 AM
shutting down Xserver and dropping to the shell funkymunky Linux - General 2 02-22-2004 03:03 AM
runlevel option when booting katana Linux - General 3 09-14-2001 07:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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