Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-09-2005, 04:47 AM   #1
Registered: Jun 2005
Distribution: Fedora 11
Posts: 68

Rep: Reputation: 15
How switch from x-window to the command line

Sorry.I have not used Linux for long time.My installation this time make directly me to X-window interface,How should I do to switch to the command line interface.Who is kind of telling me that.Thanks.
Old 06-09-2005, 04:56 AM   #2
Registered: Nov 2003
Location: Bristol, UK
Distribution: Debian Lenny, Gentoo (at work)
Posts: 388

Rep: Reputation: 32
If all you want to do is get a command line for a short time, press ctrl-alt-f(1-6). To get back to the GUI, press ctrl-alt-f7. If you actually want to shutdown the X server completely, then run init 3 as root. Run init 5 to restart it. To boot the system without starting X at all, you need to change the default runlevel from 5 to 3. To do this, edit the file /etc/inittab. Look for a line something like this - id:5:initdefault: and change the 5 to 3.


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
Command line screenshot of a single window Hko Programming 1 12-02-2005 10:21 AM
Retrieve Window ID in command line.. joely2k Linux - General 3 11-26-2005 12:44 PM
Command line to raise a window? joely2k Linux - General 2 11-25-2005 01:42 PM
How do you start X-window from command line? yekrahs SUSE / openSUSE 2 11-18-2005 10:12 AM
Starting an xterm window that is "always on top" on command line azilkie Fedora 1 10-07-2005 10:17 PM

All times are GMT -5. The time now is 04:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration