Xmanager远程连接RedHat5.4
首先修改配置文件:
![Xmanager远程连接RedHat5.4_远程控制](https://s2.51cto.com/attachment/201104/160658801.jpg?x-oss-process=image/resize,m_fixed,w_1184)
修改/etc/gdm/custom.conf文件
修改:
[ security ]
DisallowTCP=false
[ xdmcp ]
Enable=true
![Xmanager远程连接RedHat5.4_远程控制_02](https://s2.51cto.com/attachment/201104/160739551.png?x-oss-process=image/resize,m_fixed,w_1184)
然後修改:gdmsetup
![Xmanager远程连接RedHat5.4_远程控制_03](https://s2.51cto.com/attachment/201104/160807840.png?x-oss-process=image/resize,m_fixed,w_1184)
选中安全选项中的<许远程管理员登陆>
取消<禁止TCP连接到X服务器>
![Xmanager远程连接RedHat5.4_redhat_04](https://s2.51cto.com/attachment/201104/160830477.png?x-oss-process=image/resize,m_fixed,w_1184)
最后添加防火墙策略
允许: udp 177
Iptables –A INPUT –p udp –dport 177 –j ACCEPT
![Xmanager远程连接RedHat5.4_远程控制_05](https://s2.51cto.com/attachment/201104/160852466.png?x-oss-process=image/resize,m_fixed,w_1184)
启用防火墙策略:
Service iptables restart
配置Xmanager 3.0
打开Xbrowser:New ——Static Session
![Xmanager远程连接RedHat5.4_xmanage_06](https://s2.51cto.com/attachment/201104/160927662.png?x-oss-process=image/resize,m_fixed,w_1184)
General单元中:
Session:自己定义的名字
Method:选择XDM Query
Host: Linux RHEL5.4主机ip地址
端口号:177 (默认)
其它保持默认即可。
![Xmanager远程连接RedHat5.4_redhat_07](https://s2.51cto.com/attachment/201104/161005638.png?x-oss-process=image/resize,m_fixed,w_1184)
确定之后出现刚才配置的主机的列表:
![Xmanager远程连接RedHat5.4_redhat_08](https://s2.51cto.com/attachment/201104/161033821.png?x-oss-process=image/resize,m_fixed,w_1184)
连接
双击进行连接,或者右击,点Open进行连接:
![Xmanager远程连接RedHat5.4_远程控制_09](https://s2.51cto.com/attachment/201104/161106131.png?x-oss-process=image/resize,m_fixed,w_1184)
连接成功:
![Xmanager远程连接RedHat5.4_远程控制_10](https://s2.51cto.com/attachment/201104/161302106.jpg?x-oss-process=image/resize,m_fixed,w_1184)
完成!