Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: cheese on 12 May 2004, 02:16
-
how do i do it? thanks
-
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 ]
-
i logged in as root and whatnot and i tried init3 but it said invalid command or something like that :(
-
He means
init 3
-
still saying command not found :-/
-
quote:
Originally posted by blackh@t:
still saying command not found :-/
Ok it's not in the path... likely meaning you used
instead of
or logging in directly as root.
Use
or give the full path, i.e.
-
ooh ok, thanks a bunch (http://smile.gif)
-
If you can't get init3 to work, search out the pid and kill it.
$ps -ae | grep X
$kill [pid]
-
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.