Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
General Linux > Display > Issue <<  34 of 83 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 548
Last update: 05-11-06
Issue:
How do I change the system to boot into the graphical login (runlevel 5) instead of text mode (runlevel 3)?
Resolution:

In order to change what run level the system boots to, modify the /etc/inittab file. This is a sample from the inittab file:

# 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:

The runlevel is determined by this line:

 id:3:initdefault:

Change the above line to:

id:5:initdefault:
and your system will now boot to runlevel 5 or to a graphical login.


How well did this entry answer your question?


good wrong incomplete out of date
General Linux > Display > Issue <<   34  of  83  >>