歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Xmanger遠程桌面Ubuntu 12.04

Xmanger遠程桌面Ubuntu 12.04

日期:2017/2/28 15:50:41   编辑:Linux教程

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

更多Ubuntu相關信息見Ubuntu 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=2

Copyright © Linux教程網 All Rights Reserved