Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 2010 18:07:34 +0100
From:      "Alain G. Fabry" <alainfabry@belgacom.net>
To:        freebsd-questions@freebsd.org
Subject:   XDM not showing login screen
Message-ID:  <20101231170734.GA2105@desmo.3rdrock.kicks-ass.net>

next in thread | raw e-mail | index | archive | help
Hi, I'm trying to get my XDMCP to work, but for some reason the XDM daemon doesn't reply to XDMCP requests.

I see the XDMCP packet arriving on my xdm server

harley# tcpdump port 177
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes
10:33:42.930750 IP 192.168.1.200.1291 > 255.255.255.255.xdmcp: UDP, length 7

All seems to be running ok
harley# ps ax | grep xdm
76517  ??  Ss     0:00.41 /usr/local/bin/X :0 -auth /usr/local/lib/X11/xdm/authdir/authfiles/A:0-Z5AiCR (Xorg)
76519  ??  Is     0:00.06 xdm: :0 (xdm)
 6040   2  S+     0:00.00 grep xdm
 76515   5  I+     0:00.01 xdm -nodaemon -debug 1


The XDM daemon does not reply with a login screen.

I've commented out the following in my xdm-config file
! DisplayManager.requestPort:   0

following in my Xaccess file
*                                       #any host can get a login window

xdm and X are running, and I see the following in my xdm.log file, even though I don't get a login screen, the log file indicates incorrect login

SetPrompt(1, <NULL>, LOGIN_PROMPT_ECHO_OFF(2))
SetPrompt(0, <NULL>, LOGIN_PROMPT_ECHO_ON(1))
source /usr/local/lib/X11/xdm/Xsetup_0
SetPrompt(0, <NULL>, LOGIN_PROMPT_NOT_SHOWN(0))
SetPrompt(1, <NULL>, LOGIN_PROMPT_NOT_SHOWN(0))
pam_msg: PAM_PROMPT_ECHO_ON (2): '       Login:'
SetPrompt(0,        Login:, LOGIN_PROMPT_ECHO_ON(1))
RedrawFail('Login incorrect', 0)
dispatching :0
RedrawFail('Login incorrect', 0)

What more can I do to verify why it's not working, and what could be wrong.

Thanks,

Alain




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101231170734.GA2105>