Author Topic: closing x server  (Read 935 times)

cheese

  • Newbie
  • *
  • Posts: 10
  • Kudos: 0
closing x server
« on: 12 May 2004, 02:16 »
how do i do it? thanks

insomnia

  • Member
  • **
  • Posts: 587
  • Kudos: 0
closing x server
« Reply #1 on: 12 May 2004, 03:42 »
quote:
Originally posted by blackh@t:
how do i do it? thanks


This works rather stupid in RH/Fedora.

press:
Ctrl-Alt-F3.
Login as root.(you might have to do this twice)
Type:
init3

This will finally close X11.

To restart X11, type:
startx

[ May 11, 2004: Message edited by: insomnia ]

Those who can make you believe absurdities can make you commit atrocities.
    Voltaire

Injustice is happening now; suffering is happening now. We have choices to make now. To insist on absolute certainty before starting to apply ethics to life decisions is a way of choosing to be amoral.
R. Stallman

http://www.pvda.be/


cheese

  • Newbie
  • *
  • Posts: 10
  • Kudos: 0
closing x server
« Reply #2 on: 12 May 2004, 05:15 »
i logged in as root and whatnot and i tried init3 but it said invalid command or something like that   :(

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
closing x server
« Reply #3 on: 12 May 2004, 05:19 »
He means
init 3
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


cheese

  • Newbie
  • *
  • Posts: 10
  • Kudos: 0
closing x server
« Reply #4 on: 12 May 2004, 06:22 »
still saying command not found :-/

mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
closing x server
« Reply #5 on: 12 May 2004, 07:48 »
quote:
Originally posted by blackh@t:
still saying command not found :-/


Ok it's not in the path... likely meaning you used
Code: [Select]
instead of
Code: [Select]
or logging in directly as root.

Use
Code: [Select]
or give the full path, i.e.
Code: [Select]
In brightest day, in darkest night, no evil shall escape my sight....

cheese

  • Newbie
  • *
  • Posts: 10
  • Kudos: 0
closing x server
« Reply #6 on: 12 May 2004, 10:00 »
ooh ok, thanks a bunch  

preacher

  • VIP
  • Member
  • ***
  • Posts: 858
  • Kudos: 107
    • http://kansascity.cjb.net
closing x server
« Reply #7 on: 14 May 2004, 20:39 »
If you can't get init3 to work, search out the pid and kill it.

$ps -ae | grep X

$kill [pid]
Kansas City Hustle
http://kansascity.cjb.net

mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
closing x server
« Reply #8 on: 17 May 2004, 04:31 »
quote:
Originally posted by ThePreacher:
If you can't get init3 to work, search out the pid and kill it.

$ps -ae | grep X

$kill [pid]



Very true, if you are not running a graphical login manager (xdm, gdm, kdm).  Killing the X process will just cause the manager to spawn a new one.  If one is not running a graphical login manager, the X process can be also killed with CTRL-ALT-BACKSPACE.
In brightest day, in darkest night, no evil shall escape my sight....