`

Xmanger远程桌面Ubuntu 12.04

阅读更多


第一步:
sudo aptitude install gdm
第二步:
编辑文件
1、
sudo vim /usr/share/doc/gdm/examples/custom.conf(如果是ubuntu其他版本==每个版本文件文字会有所不同,建议用find查找一下custom.conf)
添加
[security]
DisallowTCP=false
[xdmcp]
Enable=true
Port=177
DisplaysPerHost=10(表示连接数量)
2、
sudo vim /usr/share/gdm/gdm.schemas(同custom.conf,其他版本ubuntu需要find查找一下)
修改xdmcp/Enable字段:
<schema>

<key>xdmcp/Enable</key>

<signature>b</signature>

<default>true</default>

</schema>

3、Open port udp 177(开启177端口):

sudo ufw allow 177

4、Reboot the system(重启gdm):

sudo /etc/init.d/gdm restart

本篇文章来源于 Linux公社网站(www.linuxidc.com)  原文链接:http://www.linuxidc.com/Linux/2012-05/61139.htm
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics