如何启用Xwindows的远程登陆访问

Xwin的客户端选择上,推荐Xwin32 5.0版。
不需要太高的版本,不一定好用。
安装Xwin32后,需要把xwin32加入到windows防火墙的许可列表中
这是因为xwin工作的时候需要从linux进行反向的udp连接
如果要单纯开放端口的话,打开UDP的6000端口即可。

服务端,请安装gdm
并启动gdm服务
打开linux上的TCP6000和UDP 177端口
编辑/etc/X11/gdm/gdm.conf
找到如下一段:

[xdmcp]
# Distributions: Ship with this off.  It is never a safe thing to leave
# out on the net.  Alternatively you can set up /etc/hosts.allow and
# /etc/hosts.deny to only allow say local access.
Enable=false

将Enable=false改成Enable=true
同时确认Port=177没有被注视掉

重新启动gdm服务,即可连接了。
Linux系统 | 评论(0) | 引用(0) | 阅读(193)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]