On Fri, Dec 31, 2010 at 06:07:34PM +0100, Alain G. Fabry wrote:
> 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

not sure if it helps, I'll just describe my setup.

% grep xdm\" /etc/ttys
ttyv8   "/usr/local/bin/xdm"    xterm   off secure


% grep requestPort /usr/local/lib/X11/xdm/xdm-config
!DisplayManager.requestPort:    0


% grep -v "^#" /usr/local/lib/X11/xdm/Xaccess | uniq -u

aa.bb.cc.dd     (these are ip addresses from which
aa.bb.cc.ee     I connect to XDM server)

*       # any host can get a login window
LISTEN aa.bb.cc.ff      (this is the ip address of
                        the interface on the server
                        which listens for incoming
                        connections)


(Obviously using wildcard after specific ip addresses
makes those ip addresses unnecessary, I just
can't decide if I need to let myself access from
anywhere on campus or not).


I connect to the XDM server using

X -query aa.bb.cc.ff 


Finally I think x11/xauth must be install on both
sides.


anton


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to