LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   How to start Linux in text mode (https://www.linuxquestions.org/questions/fedora-35/how-to-start-linux-in-text-mode-376738/)

gregor2416 10-25-2005 11:28 AM

How to start Linux in text mode
 
I have FC4. Do you know how to start the console logging(ie text mode) instead of the X-server?

acid_kewpie 10-25-2005 11:34 AM

logging? you mean login i assume? anywho... besides whatever gui FC4 provides for this, the ultimate way is to open /etc/inittab and cahnge the default from a 5 to a 3 then reboot.

johnson_steve 10-25-2005 11:36 AM

so you want the computer to start like this every time?

if so edit (as root):

/etc /inittab

find the line that starts:

id:

and change the default runlevel to 3 (full multiuser no X) it's probably set to 5 (Full Gui)


mine looks like this but yours could be different
Code:

# Default runlevel.
id:3:initdefault:


zak317 10-25-2005 11:49 AM

If it's only for one time, press ESC at startup and type "linux rescue" or "linux text". This will boot in text mode only.

Shankarrajus 10-25-2005 03:44 PM

Hi,
Even after you boot your machine in Run level 5, you can switch to text console by pressing Alt+ctl+F1 (through F6) and you can switch back to your xterm console at by pressing ctl+Alt+F7(default xterm window).

kurtdriver 10-25-2005 06:52 PM

If you want to change it temporarily type(as root) init 3
To then start the gui (Graphical user interface)type(as a non-priveledged user) startx
When you finish your gui session, you can close X by (at the terminal you started it from)pressing "Ctrl + X +C" all three at the same time. To change back to a full time gui type (again as root) init 5
for long term edit /etc/inittab in any text editor, disregarding what it says about this page was edited by....
btw Each of these commands has a manual and they make for a good read!! Try
man init
man inittab
man startx

Happy computing, and welcome to the command line, Kurt
P.S. Alt+Ctrl+F1-6 will get you virtual consoles, not xterms. xterm is a command line window the works within X (only when it's running)There are others.


All times are GMT -5. The time now is 04:17 AM.