LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I close my x session (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-close-my-x-session-673976/)

muasif80 10-03-2008 10:12 AM

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

Total-MAdMaN 10-03-2008 10:13 AM

"init 3" as root in a terminal.

muasif80 10-03-2008 10:22 AM

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.

muasif80 10-03-2008 10:33 AM

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.

muasif80 10-03-2008 10:48 AM

I have found this command but gdm is not on this path in my system

sudo /etc/init.d/gdm stop

muasif80 10-03-2008 10:58 AM

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

muasif80 10-03-2008 11:45 AM

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

salter 10-03-2008 07:28 PM

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.