LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to boot Linux in command-line (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-boot-linux-in-command-line-803567/)

ovod88 04-22-2010 01:06 PM

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?

MTK358 04-22-2010 01:10 PM

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.

puntjuh 04-22-2010 01:13 PM

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!

MTK358 04-22-2010 01:14 PM

http://en.wikipedia.org/wiki/X11

ovod88 04-22-2010 01:32 PM

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.

MTK358 04-22-2010 01:34 PM

<never mind>


All times are GMT -5. The time now is 05:13 PM.