Bootstrap

龙蜥系统最小安装后,再补充安装图形界面

 如果默认安装时未装图形界面,需要安装VMWare时需要图形界面,可补充安装,步骤如下:
1、更新系统:
[root@localhost ~]# dnf -y update
2、找到可以使用的组:
[root@localhost ~]# dnf grouplist
正常是Server with GUI
3、安装“Server with GUI”:
[root@localhost ~]# dnf groupinstall "Server with GUI"
4、设置GDM开机启动:
[root@localhost ~]# systemctl restart gdm
[root@localhost ~]# systemctl enable gdm
[root@localhost ~]# systemctl status gdm

5、设置系统启动级别未graphical
[root@localhost ~]# systemctl get-default   ## 查看原来的级别
multi-user.target   
[root@localhost ~]# systemctl set-default graphical.target   ## 设置新的启动级别
Removed /etc/systemd/system/default.target.
Created symlink /etc/systemd/system/default.target → /usr/lib/systemd/system/graphical.target.
[root@localhost ~]# systemctl get-default    ## 查看新的级别
graphical.target

;