红联Linux门户
Linux帮助

ubuntu通过xmange连接桌面

发布时间:2015-11-01 15:58:13来源:linux网站作者:Moving_on_the_way

点击 System -> Preference -> Remote Desktop,允许远程连接即可。


1.配置文件变成的xml文件 修改文件/etc/gdm/gdm.schemas命令: sudo gedit /etc/gdm/gdm.schemas
把xdmcp/Enable改成true
<schema>
<key>xdmcp/Enable</key>
<signature>b</signature>
<default>true</default>
</schema>

2.重启服务 sudo /etc/init.d/gdm restart


3.配置telnet服务, 安装telentd,xinetd,并重启服务 sudo apt-get install telnetd xinetd sudo /etc/init.d/xinetd restart 然后就可以在网络上用xmanager或telnet连接ubuntu了。


4.但是只按照上述方法则每次在退出xmanager后都需要重启第2步的服务才能够再次远程链接。解决方法:

在/etc/gdm目录下面新建文件custom.conf(或从/usr/share/doc/gdm/example/custom.conf拷贝至此也可),在文件中添加如下信息:

# GDM configuration storage

[daemon]

[security]

[xdmcp]

Enable=true

DisplaysPerHost=2

[greeter]

[chooser]

[debug]

保存退出后,重复第2步后,以后就可以随心所意的远程您心爱的Ubuntu了!


5、如果安装了iptables,应记得在其中添加端口的例外(tcp: 6000, udp: 177)
Open port udp 177(开启177端口):

$ sudo ufw allow 177


xmanger图形化登陆远程服务器:http://www.linuxdiyf.com/linux/13706.html

Xmanger远程桌面Ubuntu 12.04:http://www.linuxdiyf.com/linux/3783.html

让Red Hat Enterprise Linux 5支持Xmanger3的远程登录:http://www.linuxdiyf.com/linux/9054.html