Ubuntu关闭和开启图形界面 1. 关闭 sudo systemctl set-default multi-user.target sudo reboot 2.开启 sudo systemctl set-default graphical.target sudo reboot