Solved

Boot in console mode

Posted on 2004-04-21
2
1,001 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 250 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

691 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