xmanager 连接ubuntu12.04

很多网上都说X11Forwarding yes打开即可,可以是机器还是报SSH reject.

最后多次试验,终于解决了问题:

后来把内容改为:

AllowTcpForwarding yes
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes

再配置GDM

GDM (Ubuntu 10.10 and previous releases)

If you are using Ubuntu 11.10 or later releases, skip to the ' Configure LightDM ' section.

Open the following GDM configruation file

Ubuntu 8.x: /etc/gdm/gdm.conf-custom or /etc/X11/gdm/gdm.conf
Ubuntu 9.1, 10.04, 10.10: /etc/gdm/custom.conf

and set Enable to 1 in the [xdmcp] section and DisallowTCP to false in the [security] section as following.

[xdmcp]
Enable=1

[security]
DisallowTCP=false

*Ubuntu 10.10 had a bug in its GDM (v 2.30.5) that only allowed IPv6 connections which caused Xmanager to fail connecting to the host. This bus was fixed in GDM version 2.32.0.

� Configure LightDM (Ubuntu 11.10 and 12.04)
If you are using Ubuntu 10.10 or previous releases, you can skip this part.

Create the /etc/lightdm/lightdm.conf file and save the following lines:

[XDMCPServer]
enabled=true

*In order to use Xmanager with LightDM, you must upgrade Xmanager to the latest release. Use the Help > Check for Updates menu to upgrade.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值