Centos6 部署XDMCP实现远程控制
XDMCP部署,虽然它对于现在而言意义不大,并且简单,但我一直以失败告终直到今天才发现真相。
具体操作
yum gruopinstall "Desktop" "Desktop Platform" " X window system"
cat /etc/gdm/custom.conf
[security]
AllowRemoteRoot=yes
DisallowTCP=false
[xdmcp]
Enable=true
init 5
默认端口是UDP的177端口,最后在同一局域网下使用mobaxterm指定其局域网IP进行连接,至于为什么必须在同一局域网下,我也不清楚,但是根据我的测试貌似必须是同一局域网才可以,这或许也是我之前很久不成功的原因。必须同一局域网可能也跟广播有关系
1.首先安装 xdm软件:yum install xdm
vi /etc/X11/xdm/Xaccess:
* allow
vi /etc/gdm/custom.conf:
[security]
AllowRemoteRoot=true
[xdmcp]
Enable=true
Port=177
分类: linux
推荐本站淘宝优惠价购买喜欢的宝贝:
本文链接:https://hqyman.cn/post/9194.html 非本站原创文章欢迎转载,原创文章需保留本站地址!
休息一下~~