Chinaunix

标题: gdm为什么连不上呢? [打印本页]

作者: FunBSD    时间: 2011-11-05 14:29
标题: gdm为什么连不上呢?
suse 11 sp1和opensuse 11.4,都同样的问题。
export DISPLAY之后,可以在我的pc上打开单个程序。
但是从pc上连gdm就是连不上,177端口也是开的,没有防火墙。

DISPLAYMANAGER设置如下:
/etc/sysconfig/displaymanager
DISPLAYMANAGER="gdm"
DISPLAYMANAGER_REMOTE_ACCESS="yes"
DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes"
DISPLAYMANAGER_STARTS_XSERVER="yes"
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes"
DISPLAYMANAGER_SHUTDOWN="root"

gdm设置如下:
/etc/gdm/custom.conf
[security]
AllowRemoteRoot=true
[xdmcp]
Enable=true
Port=177
作者: FunBSD    时间: 2011-11-05 14:46
是主机名问题,加个pc的主机名就ok




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2