Solved

Boot in console mode

Posted on 2004-04-21
2
989 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 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
AWS EC2 Linux 1 36
Issue to mail 11 41
LINUX, CPANEL & WHM 5 25
mobaxterm not able to change directory 28 48
In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now