設置系統默認以字符模式運行,vi /etc/inittab,ide
# 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)this
註明:5是圖形界面啓動命令行
3是命令行界面啓動it
若是設置成命令行啓動,想要進入圖形界面能夠執行 「startx」 命令便可class