为Ubuntu配置远程X访问(XDMCP & Xming)

XDMCP, which stands for "X Display Manager Control Protocol"

 

1. 首先配置Ubuntu使之允许远程访问

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

 

2.修改gdm配置文件

sudo cp /usr/share/doc/gdm/examples/custom.conf /etc/gdm/

fengyun@fengyun-server:~$ vi /etc/gdm/custom.conf

# GDM configuration storage

[daemon]

[security]

[xdmcp]
Enable=true
DisplaysPerHost=2

[greeter]

[chooser]

[debug]

 

3、重启gdm

sudo /etc/init.d/gdm restart

 

参考链接:

http://www.straightrunning.com/XmingNotes/

你可能感兴趣的:(ubuntu)