vim /etc/inittab,出現下面的文字
如果你英文好的話應該能看懂,其他就不多解釋了
multi-user.target:analogous to runlevel 3 命令行界面
graphical.target:analogous to runlevel 5 圖形化界面
操作:
只要在命令行模式下敲入:
ln -sf /lib/systemd/system/<target name>.target /etc/systemd/system/default.target
把<target name> 改成 multi-user 或者 graphical.target 即可。