切换至字符界面:
sudo systemctl set-default multi-user.target
切换至图形界面:
sudo systemctlset-default graphical.target
打开图形界面:
sudo init 5
切换至字符界面:
sudo systemctl set-default multi-user.target
切换至图形界面:
sudo systemctlset-default graphical.target
打开图形界面:
sudo init 5