[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Boot in console mode

Posted on 2004-04-21
2
Medium Priority
?
1,015 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month12 days, 19 hours left to enroll

650 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