系统环境:
服务器:CentOS 7.2 GNOME桌面环境
个人主机:Windows 10专业版
1、安装epel源,如果已经安装,可跳过此步骤
yum install epel-release -y
2、安装lightdm和xfce
yum install lightdm -y
yum groupinstall -y xfce
3、修改配置文件
vim /etc/lightdm/lightdm.conf
4、将DisplayManager改为lightdm
systemctl disable gdm && systemctl enable lightd
5、启动lightdm
systemctl start lightdm
6、关闭防火墙
systemctl stop firewalld.service
7、打开Xmanager,运行Xbrowser
点击确定!
8、连接登陆
若登陆时出现如下错误
解决方法如下:
cd /usr/share/xsessions/
mkdir backup
mv gonome* backup
systemctl restart lightdm
Xmanager连接CentOS 6,请参考https://blog.csdn.net/kevinyankai/article/details/80176976