2.永久关闭图形化:
在root下输入 vi /etc/inittab 将init:5修改为init:3
:wq保存 退出
再reboot一下 以后就直接用shell 不用图形化
Fn默认是指F1到F6,F7就是图形界面,如果想开机进入文本模式的话修改 /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: