一、安装lightdmvim
yum install lightdm
二、编辑lightdm.conf文件服务器
vim /etc/lightdm/lightdm.conf
修改内容spa
[XDMCPServer] enabled=true port=177
三、修改默认服务为lightdmcode
systemctl disable gdm
systemctl enable lightdm
四、开启lightdmblog
systemctl start lightdm
五、安装xfceclass
yum install groupinstall xfce
六、链接服务器im