[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Boot in console mode

Posted on 2004-04-21
2
Medium Priority
?
1,019 Views
Last Modified: 2013-12-16
Hi! I'm a newbie in Linux. Can I have a question?

I have installed Redhat Linux 9.0 in my computer. Default, I choose boot it in X-Window, and everytime I start Linux, it  go to X-Window mode.

Now I want when it boot, I go to Console mode. But I don't know how to do.

Can you help me!
0
Comment
Question by:mrcuongnv
2 Comments
 
LVL 12

Accepted Solution

by:
paullamhkg earned 750 total points
ID: 10885833
get into console mode login as root or use sudo to change  the file /etc/inittab

there is an entry as below

#
# inittab       This file describes how the INIT process should set up
#               the system in a certain run-level.
#
# Author:       Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
#               Modified for RHS Linux by Marc Ewing and Donnie Barnes
#

# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:                                                                             <--- change this from 5 to 3

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

save the file and reboot, this will change the boot up to console mode instead of X-windows

after console mode, if you want to activate the X - windows, you can use startx to get into X-windows

hope this can help :)
0
 

Author Comment

by:mrcuongnv
ID: 10886071
Thank you! Very well!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month18 days, 2 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question