CentosThe graphic interface must use a large amount of memory and CPU resources of the system. For the server, high efficiency is the most important. Therefore, centos is started by default and changed to the text mode.
Enter:
VI/etc/inittab
Description text:
# Default runlevel. The runlevels used by RHS are:
#0-halt (do not set initdefault to this)
#1-single user mode ------- Single User Mode
#2-multiuser, without NFS (the same as 3, if you do not have networking) -- text interface without Network Services
#3 -Full multiuser mode ------------- text interface with network service, this is generally the case unless it is a single machine
#4-unused
# 5 -X11 ------------ is the image
#6-Reboot (do not set initdefault to this)
ID: 5: initdefault:
Change 5 to 3, that is ID: 5: initdefault:
Press ESC and then: WQ. Then reboot OK!
To enter the graphic interface: startx, you can.