LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 04-22-2010, 02:06 PM   #1
ovod88
Member
 
Registered: Apr 2010
Posts: 53

Rep: Reputation: 15
how to boot Linux in command-line


I read that I can load Linux either with graphical interface (by default) or only with command-line. How to load in command-line and how to revert?
 
Old 04-22-2010, 02:10 PM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
In Linux, unlike Windows, the GUI is not part of the OS, it's just a normal program.

Most (but not all) distros start this GUI program (the X Window System, or X for short) automatically.

Note that Linux also has multiple login prompts, accessible via pressing Ctrl+Alt+(F1 through F6). The GUI desktop is usually on F1 or F7.
 
Old 04-22-2010, 02:13 PM   #3
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
Depending on the distribution that you choose, a GUI is usually already installed, and will automatically boot.

It also depends on the distribution of your choice how to enable/disable the GUI. Usually you can, while in the GUI, press CTRL+ALT+F1/6, and a shell is presented to you, from there you can disable the gui.

Depending, again on your distro of choice, and the GUI delivered with it, you usually shutdown your GUI by:

Code:
/etc/init.d/kdm stop "OR" /etc/init.d/gdm stop
just to name an example.

If you don't want your system to boot in the gui, it depends on your distro, how to disable it.

So for more specific info, i would advice you to give us which distro you are using, or which you would like to start using.

Good luck!
 
Old 04-22-2010, 02:14 PM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
http://en.wikipedia.org/wiki/X11
 
Old 04-22-2010, 02:32 PM   #5
ovod88
Member
 
Registered: Apr 2010
Posts: 53

Original Poster
Rep: Reputation: 15
Thanks guys. But I found how to do it. I need to edit /etc/inittab file from 5 to 3. Thie thread can now be marked as "Solved". I have distro Fedora 12.
 
Old 04-22-2010, 02:34 PM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
<never mind>
 
  


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
Linux WON'T boot up into KDE, but into command line! miguel_linux Mandriva 4 07-18-2006 01:00 PM
Blank Screen after Suse Boot - HowTo boot from grub to command line benco420 Linux - Newbie 3 02-13-2005 06:50 AM
mandrake 10 command line to gui boot, then stuck at boot with hour glass chris008 Linux - Laptop and Netbook 1 11-14-2004 06:29 PM
Boot to Command line nhesson Linux - Software 1 02-18-2004 05:53 AM
How do i boot into Command line only ? Jimmyscab Linux - General 1 01-13-2003 12:43 PM


All times are GMT -5. The time now is 02:10 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