查看開機加載級別:7個級別 規範場景默認都是3
html
cat /etc/inittab --> 系統開機啓動加載的文件,能夠設置運行級別 # Default runlevel. The runlevels used are:··:反引號,tab之上 # 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:3:initdefault:查看當前的運行級別[默認就是3]: runlevel 切換運行級別 init 5 (切換桌面模式) ==>startx