Xmanger远程桌面Ubuntu 12.04
2015-08-28 10:48
441 查看
第一步:
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
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
相关文章推荐
- tableView设置cell高度及分组模式添加头与脚显示方法
- UVa 1451:Average(数形结合)
- 在ASP.NET 5应用程序中的跨域请求功能详解
- [LeetCode] 26 - Remove Duplicates from Sorted Array
- 915 +-字符串【贪心+模拟】
- 存储过程循环loop
- Android之——史上最简单旋转菜单实现效果
- oldssoj1107奶牛浴场(最大子矩阵)
- 为什么程序员有高薪却不高兴?
- 4个独立按键实现对数码管数字显示的加减清零等
- char (*)[]无法传给参数char **
- ffmpeg_function: av_sample_get_buffer_size
- jQuery实现的Div窗口震动效果实例
- 打开Word时出现“The setup controller has encountered a problem during install. Please ...”
- Android layout布局属性、标签属性总结大全
- 谈谈关于GCD相关问题
- 更改ORACLE所占用的8080端口号
- 详解C语言的exp()函数和ldexp()函数以及frexp()函数
- 通过Oracle.DataAccess.dll访问vs2008报ORA-12560错误
- vim config