Windows下使用XManager访问Ubuntu 11.04的设置方法
(在设置之前要打开允许远程桌面 系统->首选项->远程桌面-> 选择相关选项)
1、Download the attached file and upload it to the server. And, enter the following command to update gdm(更新gdm软件包):
$ wget
$ sudo dpkg -i gdm_2320-0ubuntu1_i386.deb
注:本步骤是为修改 Ubuntu 10.10 的gdm bug 而做的(Ubuntu 10.10的GDM只开放了IPv6,所以在Windows下是连不上的。这个修正文件是由好心的Xmanager放出的),10.10以前版本貌似不用做这一步。另外,蓝色部分的地址,最好在Windows下用迅雷下载,这样更快点。
$ gdm --version
GDM 2.32.1
2、Open the /etc/gdm/custom.conf file and set XDMCP to true(修改custom.conf配置文件,若没有则新建一个):
$ sudo gedit /etc/gdm/custom.conf
添加如下两个字段:
[security]
DisallowTCP=false
[xdmcp]
Enable=true
Port=177
DisplaysPerHost=10
注:DisplaysPerHost表示显示主机的数量
3、Open the /etc/gdm/gdm.schemas file and set XDMCP to true(修改schemas配置文件):
$ sudo gedit /etc/gdm/gdm.schemas
修改xdmcp/Enable字段:<schema>
<key>xdmcp/Enable</key>
<signature>b</signature>
<default>true</default>
</schema>
注:理论上,这一步完全可以被第二步替代,但并不完全确定。如果仅配置第二步还是不行的话可以再做这一步。
4、Open port udp 177(开启177端口):
$
5、Reboot the system(重启gdm):
$
真不明白,为什么NetSarang的官网也会被墙?害得我跑到韩国网站去下……