Xmanager远程连接centos桌面

1.安装epel

yum install -y epel-release

 

2.安装lightdm

yum install -y lightdm

 

3.安装xfce

yum groupinstall -y xfce

 

4.修改配置/etc/lightdm/lightdm.conf 

[XDMCPServer]
enabled=false
port=177

 

5.将Display Manager切换为lightdm

systemctl disable gdm && systemctl enable lightdm

 

6.启动lightdm服务

systemctl start lightdm

 

7.防火墙添加177端口放行

iptables -I INPUT 4 -p tcp -m state --state NEW -m tcp --dport 177 -j ACCEPT
service iptables save
iptables -nvL

posted on 2022-05-11 14:22  dudumao  阅读(318)  评论(0编辑  收藏  举报

导航

阿里云