Xmanager远程连接ubuntu、centos
Xmanager远程连接ubuntu
涉及到软件:Xmanager1.3.9/Windowsxp,ubuntuhardy
第一步,在ubuntu机器上配置好gdm,修改/etc/gdm/gdm.conf-custom,对照添加如下内容:
[security]
DisallowTCP=false
[xdmcp]
Enable=true
1)编辑/etc/gdm/custom.conf,内容如下:
[daemon]
[security]
AllowRemoteRoot=true
[xdmcp]
Port=177
[gui]
[greeter]
[chooser]
[debug]
[servers]
然后重启桌面:gdm-restart
2)设置防火墙,在/etc/sysconfig/iptables文件中加入:
-ARH-Firewall-1-INPUT-mstate--stateNEW-mtcp-ptcp--dport6000:6010-jACCEPT
-ARH-Firewall-1-INPUT-mstate--stateNEW-mudp-pudp--dport177-jACCEPT
重启防火墙:serviceiptablesrestart
3)在windows中启动Xmanager,就可以看到CentOS了。
注:我出现了防火墙阻挡访问的问题,使用serviceiptablesstop关闭防火墙后即可访问。
相关推荐
summerinsist 2020-08-21
Wepe0 2020-10-30
Lostinthewoods 2020-10-29
hickwu 2020-10-23
focusforce 2020-10-10
winki 2020-08-19
89284553 2020-07-17
大老张学编程 2020-07-04
xiaohouye 2020-06-28
lizhengfa 2020-06-26
Aveiox 2020-06-25
clamzxf 2020-06-16
kerson 2020-06-16
zhangwentaohh 2020-06-14
学峰的学习笔记 2020-06-11
linuxalienyan 2020-06-11