查看目前
systemctl get-default
命令行模式 :multi-user.target
图形界面模式:graphical.target
设置:
systemctl set-default graphical.target
systemctl set-default multi-user.target