The system default boot level is set in the file/etc/inittab, variable Initdefault. When set to 3 o'clock, the system starts in text mode;
 
When set to 5 o'clock, the system will start in graphical interface mode. This is part of the file (delete the Initdefault line you don't need):
# Default RunLevel. The runlevels used by RHS are:# 0-halt (don't set Initdefault to this) # 1-single user mode# 2-multiuser, without NFS (the SAM E as 3, if you don't have networking) # 3-full multiuser mode# 4-unused# 5-x11# 6-reboot (don't set Initdefault to this) # I D:3:initdefault: # console Text modeid:5:initdefault: # console GUI Mode
Note:
Most users start with a graphical interface such as Windows (Run Level 5) Most techies tend to text-based command-line mode startup (Run Level 3) to change the default boot value from 3 to 5, or vice versa, affecting the next restart. Review the following sections: How to set up the graphical interface to always log on until the next reboot. Of course, do not set the default boot value of 6, otherwise you will continue to reboot, set the default boot value of 0 will cause the machine will never open.