曲径通幽论坛

标题: 使用 Xmanager 连接 SUSE11 [打印本页]

作者: beyes    时间: 2010-10-30 22:12
标题: 使用 Xmanager 连接 SUSE11
使用 Xmanager 连接 Linux 需要配置 XDCMP,相关配置文件为:
1.  /etc/gdm/gdm_sysconfig.conf

DISPLAYMANAGER_REMOTE_ACCESS="yes"
DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes"
DISPLAYMANAGER_STARTS_XSERVER="yes"
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="no"
DISPLAYMANAGER_AUTOLOGIN=""
DISPLAYMANAGER_PASSWORD_LESS_LOGIN="no"
DISPLAYMANAGER_AD_INTEGRATION="no"
DISPLAYMANAGER_SHUTDOWN="root"
PERMISSION_SECURITY="easy local"

2. /etc/gdm/custom.conf

# GDM configuration storage
[xdmcp]
# SuSEconfig: displaymanager:DISPLAYMANAGER_REMOTE_ACCESS
Enable=true
[chooser]
[security]
#DisallowTCP=true
# SuSEconfig: displaymanager:~DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN
DisallowTCP=true
#AllowRemoteRoot=false
# SuSEconfig: displaymanager:DISPLAYMANAGER_ROOT_LOGIN_REMOTE
AllowRemoteRoot=true
[debug]

上面的 Enable 要设置为 ture 。

3. 重启 gdm

/etc/init.d/xdm restart


这里顺便提一下,如果远程服务器(PC)不接显示器,那么在 SSH 里重启 gdm 可能是会失败的:) 正是因为如此,才导致一个简单的配置花了许多无谓的时间。




欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) Powered by Discuz! X3.2