XDMCP登录失败

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
kelvinwu_2008
帖子: 169
注册时间: 2009-02-21 10:10

XDMCP登录失败

#1

帖子 kelvinwu_2008 » 2009-03-24 15:48

查了相当多的资料,在ubuntu8.1上开启XDMCP服务,都不成功,表现为当别的机器通过网络连接该XDMCP服务时,只有黑色背景和一个叉鼠标,没有登录对话框。有谁在8.1上设定XDMCP成功过?
头像
be00
帖子: 805
注册时间: 2008-07-28 19:51
来自: 长沙
联系:

Re: XDMCP登录失败

#2

帖子 be00 » 2009-03-24 21:53

Screenshot-5.png
是这个效果吗

我在本机可以用另外的帐号再登录一次本机
我的乌斑兔儿:http://zhanggang.net/m/b/b1/ubuntu右键选择在新的窗体打开
右边有一只黄手 ----> 或者注册Dropbox中文版感谢我
kelvinwu_2008
帖子: 169
注册时间: 2009-02-21 10:10

Re: XDMCP登录失败

#3

帖子 kelvinwu_2008 » 2009-03-24 22:50

对,就是这个。楼上的朋友是怎么开通本机的XDMCP的,你的是8.1的版本吗?我的只有一个背景与叉。
kelvinwu_2008
帖子: 169
注册时间: 2009-02-21 10:10

Re: XDMCP登录失败

#4

帖子 kelvinwu_2008 » 2009-03-25 14:08

效果如下图所示,连上去后一直保持这个画面。
Error.jpg
头像
be00
帖子: 805
注册时间: 2008-07-28 19:51
来自: 长沙
联系:

Re: XDMCP登录失败

#5

帖子 be00 » 2009-03-26 9:45

我的配置过程:

在“系统”-“系统管理”-“登录窗口”,把远程打开,XDMCP的配置默认,配置完以后应该就可以了。

可以在/etc/gdm/gdm.conf-custom里面可以看见已经打开远程连接了

代码: 全选

[xdmcp]

Enable=true
本机这个时候应该开放了udp177端口,连接成功后会开放tcp6000端口

代码: 全选

udp        0      0 0.0.0.0:177             0.0.0.0:*                          
我的乌斑兔儿:http://zhanggang.net/m/b/b1/ubuntu右键选择在新的窗体打开
右边有一只黄手 ----> 或者注册Dropbox中文版感谢我
kelvinwu_2008
帖子: 169
注册时间: 2009-02-21 10:10

Re: XDMCP登录失败

#6

帖子 kelvinwu_2008 » 2009-03-26 13:41

搞到我使劲改gdm.conf

原来要改gdm.conf-custom才行的。
这里贴下gdm.conf-custom文件内容,他的说明挺奇怪的。注意红色的部分
kelvin@fortest:~$ cat /etc/gdm/gdm.conf-custom
# GDM Configuration Customization file.
#
# This file is the appropriate place for specifying your customizations to the
# GDM configuration. If you run gdmsetup, it will automatically edit this
# file for you and will cause the daemon and any running GDM GUI programs to
# automatically update with the new configuration. Not all configuration
# options are supported by gdmsetup, so to modify some values it may be
# necessary to modify this file directly by hand.
#
# Older versions of GDM used the "gdm.conf" file for configuration. If your
# system has an old gdm.conf file on the system, it will be used instead of
# this file - so changes made to this file will not take effect.
Consider
# migrating your configuration to this file and removing the gdm.conf file.
#
# To hand-edit this file, simply add or modify the key=value combination in
# the appropriate section in the template below. Refer to the comments in the
# /usr/share/gdm/defaults.conf file for information about each option. Also
# refer to the reference documentation.
#
# If you hand edit a GDM configuration file, you should run the following
# command to get the GDM daemon to notice the change. Any running GDM GUI
# programs will also be notified to update with the new configuration.
#
# gdmflexiserver --command="UPDATE_CONFIG <configuration key>"
#
# e.g, the "Enable" key in the "[debug]" section would be "debug/Enable".
#
# You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and
# re-read the new configuration settings. You can also restart GDM by sending
# a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes
# any user session started by GDM to exit immediately while USR1 behaves like
# gdm-safe-restart and will wait until all users log out before restarting GDM.
#
# For full reference documentation see the gnome help browser under
# GNOME|System category. You can also find the docs in HTML form on
# http://www.gnome.org/projects/gdm/
#
# NOTE: Lines that begin with "#" are considered comments.
#
# Have fun!

[daemon]

AlwaysLoginCurrentSession=false

RemoteGreeter=/usr/lib/gdm/gdmgreeter

[security]

AllowRoot=true

AllowRemoteRoot=true

DisallowTCP=false

CheckDirOwner=false

[xdmcp]
Enalbe=true

Enable=true

[gui]

[greeter]




SoundOnLogin=false

[chooser]

[debug]


[servers]

[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X -br -audit 0
chooser=false
handled=true
flexible=true
priority=0
头像
Jarson
帖子: 2371
注册时间: 2008-07-21 9:44
来自: 深圳
联系:

Re: XDMCP登录失败

#7

帖子 Jarson » 2009-03-26 16:24

学习~~
gavin_w
帖子: 1
注册时间: 2009-03-26 16:35

Re: XDMCP登录失败

#8

帖子 gavin_w » 2009-03-26 16:50

设置成功了吗?只是需要修改这一个地方吗
kelvinwu_2008
帖子: 169
注册时间: 2009-02-21 10:10

Re: XDMCP登录失败

#9

帖子 kelvinwu_2008 » 2009-03-27 9:22

gavin_w 写了:设置成功了吗?只是需要修改这一个地方吗

改那地方后,改一下登录相关的设置就OK了。
回复