GNOME Enablement in CentOS7 The local hardware acceleration function is disabled, so there will be problems when connecting to CentOS remotely through the XDMCP protocol. This has been mentioned in the blog of Xmanager official website (http://blog.netsarang.com/89/connecting-to-centos-7/), and it is recommended to use other display managers (such as lightdm, etc.) and desktop environment (xfce or kde) to circumvent this problem.
Install lightdm
# 增加epel 源 sudo yum install epel-release sudo yum install lightdm
Edit configuration file
sudo vim /etc/lightdm/lightdm.conf
[XDMCPServer] enabled=true port=177
Install xfce or kde
It is recommended to install kde, the interface is better than xfce
# kde sudo yum groupinstall "KDE Plasma Workspaces" # xfce sudo yum install xfce
# 将Display Manager 切换为 lightdm sudo systemctl disable gdm sudo systemctl enable lightdm sudo systemctl start lightdm # 关闭防火墙 sudo systemctl stop firewalld.service
Xstart configuration
In the Xstart configuration, the configuration of command (C) is as follows:
# xfce /usr/bin/xfce4-session # kde DISPLAY=$DISPLAY; /usr/bin/startkde