1、安装可视化界面 apt-get install ubuntu-desktop
2、设置默认开启界面
systemctl set-default graphical.target
3、重启 reboot