【摘要】 (linux-x86)VMware的openEuler安装GNOME图形化界面
代码语言:javascript复制#官方链接
https://www.openeuler.org/zh/
#下载地址
https://repo.huaweicloud.com/openeuler/openEuler-20.03-LTS/ISO/x86_64/
代码语言:javascript复制#编辑源
vi /etc/yum.repos.d/openEuler_x86_64.repo
#添加内容如下
[base]
name=base
baseurl=https://repo.openeuler.org/openEuler-20.03-LTS/OS/x86_64/
enabled=1
gpgcheck=0
#
yum makecache
代码语言:javascript复制#安装gnome桌面
yum install gnome-shell gdm gnome-session gnome-terminal -y
代码语言:javascript复制#设置gdm自启,并设置启动级别为图形化界面
systemctl enable gdm.service
systemctl set-default graphical.target
代码语言:javascript复制#下载Xsession,并代替原来的Xsession
wget https://gitee.com/name1e5s/xsession/raw/master/Xsession
mv Xsession /etc/gdm/
chmod 0777 /etc/gdm/Xsession
#重启
reboot