How can I close my x session
I want to close my x session and want to go into the console mode how can I do that? Please help
|
"init 3" as root in a terminal.
|
I am using Linux via VMWare and when I write init 3 it does not give the expected response rather a list of weired messages.
|
In fact I want to play with my linux installation and wanted to install x myself, but a previous x is present and when I execute the following command
shell> sh Xinstall.sh It gives me the following message $DISPLAY is set, which may indicate that you are running this installation from an X session. It is recommended that X not be running while doing the installation. |
I have found this command but gdm is not on this path in my system
sudo /etc/init.d/gdm stop |
NOw I have found that on my system gdm is at the path
/sbin/gdm and the command available is gdm-stop But when I run shell> /sbin/gdm-stop This only logs me out of x session without giving me a terminal, I want have terminal while logged out of the gdm. Thanks |
Ok I am able to stop x session first i go to init 1 and then i move to init 3 and pressed ctrl+Alt+F1 this gave me the prompt in init 3
|
To close X windows do Ctrl-Shift-Backspace, which kills it efectively, though on most systems X windows will be started again with a graphical login.
To get out of X temporarily press Ctrl-Alt-F1 (or any F-key you want, up to F6) and you will find yourself on a shell console. To get back to the X session press Ctrl-F7 (if X runs as screen :0, which is the default) and you're back again. |
All times are GMT -5. The time now is 04:23 AM. |