LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2010, 02:57 PM   #1
Stevithen
Member
 
Registered: Sep 2009
Distribution: Debian
Posts: 55

Rep: Reputation: 15
How do i get out of X - everytime i try to leave it just restarts itself


how do i exit X
 
Old 03-31-2010, 03:26 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
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
 
Old 03-31-2010, 03:29 PM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,716
Blog Entries: 14

Rep: Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039
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).
 
Old 03-31-2010, 03:44 PM   #4
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
try /etc/init.d/gdm stop.
You are probably using GNOME and it is insistent.
 
Old 03-31-2010, 04:13 PM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,790

Rep: Reputation: 211Reputation: 211Reputation: 211
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.

Last edited by thorkelljarl; 03-31-2010 at 04:15 PM.
 
Old 03-31-2010, 04:39 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,876

Rep: Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302Reputation: 2302
Open a terminal in the gui and type this

sudo telinit 3

may also work.

Last edited by jefro; 03-31-2010 at 04:44 PM.
 
Old 03-31-2010, 05:03 PM   #7
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
@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
 
Old 03-31-2010, 05:05 PM   #8
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Rep: Reputation: 227Reputation: 227Reputation: 227
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware 11.0 -- to leave or not to leave out the 2.4 kernel? aquilolumen Slackware - Installation 7 06-30-2007 07:12 PM
mounting everytime kangaro Linux - Software 3 02-16-2007 09:36 AM
Computer restarts after syslogd restarts birdseye Linux - General 2 03-05-2006 04:27 AM
Have to install everytime to come to X. c3nturion Linux - Hardware 2 02-02-2005 12:30 AM
Set up everytime? St4ckHOu5e Linux - Wireless Networking 8 01-20-2005 05:42 PM


All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration