Xmanager远程连接服务器

xiaoxiao2021-02-28  45

服务端

以cenos7为例,其他系统请见https://www.netsarang.com/faq/xmanager/list

将桌面转换成lightdm

安装依赖

yum install lightdm

如果安装失败,可以先尝试下面的命令再安装

yum install http://download.netsarang.com/files/etc/epel-release-7-0.2.noarch.rpm

修改配置文档

vi /etc/lightdm/lightdm.conf [XDMCPServer] enabled=true

把默认的display manage改成lightdm

systemctl disable gdm && systemctl enable lightdm

开启lightdm服务

systemctl start lightdm

如果有防火墙,记得打开端口。

firewall-cmd --query-port=177/tcp ##查看是否打开 firewall-cmd --query-port=177/udp firewall-cmd --zone=public --add-port=177/tcp --permanent firewall-cmd --zone=public --add-port=177/udp --permanent firewall-cmd --reload

把Xfce 和Configure 设置成默认的桌面环境

安装

yum install http://download.netsarang.com/files/etc/epel-release-7-0.2.noarch.rpm

安装一个桌面环境

yum groupinstall xfce

重启lightdm

systemctl restart lightdm

客户端

直接打开xmanager中的XMCP,方法选择XDMCP query,输入用户名密码进行连接。

转载请注明原文地址: https://www.6miu.com/read-1700024.html

最新回复(0)