LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-09-2005, 03:47 AM   #1
backpacker
Member
 
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, 03:56 AM   #2
trevelluk
Member
 
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:09 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
Open Source Consulting | Domain Registration