Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-22-2006, 07:06 PM   #1
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Rep: Reputation: 31
How to log out of X?

I am using Fedora Core 5 with GNOME 2.14. I can't find any options for shutting down X and going just to console. There used to be an option for this in older distributions, just as in Windows you could just down to DOS. I can switch to the console (CTRL+ALT+F#), but X is still open and usually I need to use the console at times when X should not be running. There should be an option for going to the console in GDM for this, but I don't see it. The only way I know, is to disable logging into X at startup, then to restart the computer, but since I don't use the console all the time, I don't want something to permanent. How do I accomplish this?
Old 04-22-2006, 07:15 PM   #2
Simon Bridge
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
ctrl-alt-backspace usually does the trick for me.

you can also change to runlevel three using init.

I wonder what would happen with killall X?

Last edited by Simon Bridge; 04-22-2006 at 07:19 PM.
Old 04-22-2006, 07:22 PM   #3
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Do the Ctrl+Alt+F1 to F6, log in as root (or if possible with your normal user account) then do;

sudo /sbin/init 3

to reactivate X do; sudo /sbin/init 5


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
How to change Debian log rotation of syslog and daemon.log onmountain Linux - Newbie 2 07-31-2008 02:27 AM
Deleted /var/log/messages, can't log any files-iptables chingyenccy Linux - Newbie 7 02-27-2005 04:03 PM
Strange results in /var/log/apache/access.log subt13 Linux - Security 2 08-03-2004 01:21 PM
pppd logging to /var/log/ppp.log problem mrtwice Linux - Software 1 01-10-2004 05:38 PM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 AM.

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