LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do i get out of X - everytime i try to leave it just restarts itself (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-get-out-of-x-everytime-i-try-to-leave-it-just-restarts-itself-799197/)

Stevithen 03-31-2010 02:57 PM

How do i get out of X - everytime i try to leave it just restarts itself
 
how do i exit X

tredegar 03-31-2010 03:26 PM

Quote:

how do i exit X
Simple answer: logout.

But why do you want to "exit X" ?
With a better Q there's probably a better A ;)

MensaWater 03-31-2010 03:29 PM

Ctrl-Backspace will exit X.

If you're on the console you may be able to access one of the virtual terminals by hitting something like "Ctrl-Alt-F1" (or F2 or F3 etc...) and leave your X session intact - you can return to it from one of the virtual terminals by hitting "Alt-F7" (assuming it is on F7).

smeezekitty 03-31-2010 03:44 PM

try /etc/init.d/gdm stop.
You are probably using GNOME and it is insistent.

thorkelljarl 03-31-2010 04:13 PM

If you want to stop X...

You can kill X and enter the console mode by opening a terminal and as "su" using the command "init 3". You should then see a screen with a log-in prompt. You will be in runlevel 3.

jefro 03-31-2010 04:39 PM

Open a terminal in the gui and type this

sudo telinit 3

may also work.

tredegar 03-31-2010 05:03 PM

@smeezekitty

Quote:

You are probably using GNOME
You should not be making any assumptions until the OP has clarified his post.

Quote:

.. and it is insistent.
What do you mean by this?

@thorkelljarl

Different distros define different runlevels, differently. Until we know the OP's distro, your advice may be bad advice.

I acknowledge that you are both trying to be helpful, but posting random, rather than specific advice is likely to lead to confusion.

I think we need more information from Stevithen before this thread goes further.

I refer Stevithen to the question posted at #2

smeezekitty 03-31-2010 05:05 PM

I assumed because GNOME does that.
If you kill X, it will restart itself.
What i meant by insistent is that it wont stop restarting X.


All times are GMT -5. The time now is 11:48 AM.