| 本篇文章介绍如何在 CentOS8 Linux操作系统中安装GNOME3桌面环境和GDM(GNOME Display Manager)现实环境管理器。 |
CentOS8 Minimal
首先列出网络源中可以使用的Groups:
[root@localhost ~]# yum grouplist
下一步我们需要“Available Environment Groups”下面的“Server with GUI”,这个“Server with GUI”环境包使用的桌面环境就是GNOME3。下面进行安装,下载大约1GB的安装包:
[root@localhost ~]# yum groupinstall "Server with GUI"
安装完成!
查看
gdm.service是否启动,发现gdm服务没有启动。
[root@localhost ~]# systemctl status gdm ● gdm.service - GNOME Display Manager Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; vendor preset: enabled) Active: inactive (dead)
下面设置
gdm开机启动,并立即启动该服务:
[root@localhost ~]# systemctl enable gdm --now

默认情况,CentOS8默认启动级别为
multi-user.target。
[root@localhost ~]# systemctl get-default multi-user.target
下面设置CentOS8的启动级别为
graphical.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

设置完上面的配置之后,重启操作系统。进入欢迎界面:

本篇文章介绍如何在CentOS8 Linux操作系统中安装GNOME3桌面环境和GDM(GNOME Display Manager)现实环境管理器。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31524109/viewspace-2736286/ ,如需转载,请注明出处,否则将追究法律责任。