1. After the hard disk-installed Linux is started on the GUI, you can use CTRL + ALT + F1 ~ 6. Switch to the character interface, and then use CTRL + ALT + F7 to switch to the graphic interface.
CTRL + ALT + F7 characters to graphics
CTRL + ALT + F6 graphics to characters
Note: For Linux installed on a virtual machine, the CTRL + ALT key is blocked on the virtual machine, and other hot keys must be used: CTRL + ALT + Shift + F1 ~ 6. Switch to the character interface. Use Alt + F7 to return to the graphic interface.
2. If you directly enter the character interface for each startup, You need to modify the ETC/inittab file and change the startup level from 5 to 3. The text below is described:
[RedHat @ localhost ~] $ VI/etc/inittab
#
# Inittab this file describes how the INIT process shocould 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) // stop (do not set initdefault to 0, because this will make Linux unable to start)
#1-single user mode // single user mode, just like the security mode in WINXP
#2-multiuser, without NFS (the same as 3, if you do not have networking) // multiple users, but no NFS
#3-full multiuser mode // full multi-user mode, Standard Operating pole
#4-unused // not used in general, but in some special cases, you can use it to do something.
#5-X11 // select this option, and the system will enter the graphical logon interface upon logon.
#6-Reboot (do not set initdefault to this) // restart (do not set initdefault to 6, because this will cause Linux to continuously restart)
#
ID: 5: initdefault: // if it is changed to 3, the system will be guided to the text logon prompt pure character interface.
# System initialization.
Si: sysinit:/etc/rc. d/rc. sysinit
L0: 0: Wait:/etc/rc. d/RC 0
"/Etc/inittab" [readonly] 53l, 1666c
Among them, Level 3 is the standard console pure character interface mode to enter. After modification, save and exit, and then enter the reboot command to restart the system.