设置系统默认以字符模式运行,vi /etc/inittab,

# 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:5:initdefault: (id 改为3)

注明:5是图形界面启动

            3是命令行界面启动

如果设置成命令行启动,想要进入图形界面可以执行 “startx” 命令即可