xdm problem

From: Matthew SAMS (maclean@cs.mcgill.ca)
Date: Wed Jul 10 2002 - 14:37:42 EDT


We have a collection of NCD x-terminals and
NT workstations running xwin-32. The xdm server
for these terminals had two network interfaces
one of which was on the same subnet as the
x-terminals.

Now the x-terminals must access the xdm server
across a gateway. I'm using /usr/openwin/bin/xdm
from Solaris 2.6 and 8 (on a test machine).

The /usr/openwin/lib/xdm/Xaccess file has a '*'
indicating any host can get a login window.

The /usr/lib/X11/ncd/configs/ndc_std file contains
the following

exec-startup-commands = {
        { "login ip_of_xdm_server" }
}

This should get them to use a direct connection
to the xdm server rather than broadcasting.

There are no access lists between the two networks.
If I modify the Xservers file to force xdm to start
a server on an ncd, then I see the login banner no problem.
So X traffic can go across the networks. But I need to
use xdmcp since I can't add all our ncd or nt workstations
to the Xservers file.

However, after the terminals boot they send
xdmcp requests to the server. A total of 4
packets are exchanged. The xdm server reports it's
willing to manage and they start to exchange authentication
cookies but the login window never appears and there are
no messages in any log file or on the diag port of the
ncd (tcp/5998). The xwin32 NT workstations don't report
any errors but the xdm session never starts.

I'm working on decoding the packet data that I've included
below in the event someone is very familiar with xdmcp.

1) ncd -> sun (udp/177)
UDP: ----- UDP Header -----
UDP:
UDP: Source port = 4984
UDP: Destination port = 177
UDP: Length = 15
UDP: Checksum = E3BD
UDP:

           0: 0800 20a9 8cfa 0050 bdf4 b81c 0800 4500 .. ....P......E.
          16: 0023 0113 0000 1d11 94d2 8e4d 0b2d cd96 .#.........M.-..
          32: a0d4 1378 00b1 000f e3bd 0001 0002 0001 ...x............
          48: 0000 0000 0000 0000 0000 0000 ............

2) sun (udp/177) -> ncd
UDP: ----- UDP Header -----
UDP:
UDP: Source port = 177
UDP: Destination port = 4984
UDP: Length = 53
UDP: Checksum = 82E7
UDP:

           0: 0000 0c07 aca0 0800 20a9 8cfa 0800 4500 ........ .....E.
          16: 0049 ff8b 4000 ff11 7432 cd96 a0d4 8e4d .I..@...t2.....M
          32: 0b2d 00b1 1378 0035 82e7 0001 0005 0027 .-...x.5.......'
          48: 0000 0010 6d6e 656d 656e 7468 2e77 636f ....mnementh.tes
          64: 6d2e 6361 0011 5769 6c6c 696e 6720 746f t.ca..Willing to
          80: 206d 616e 6167 65 manage

3) ncd -> sun (udp/177)
UDP: ----- UDP Header -----
UDP:
UDP: Source port = 4984
UDP: Destination port = 177
UDP: Length = 80
UDP: Checksum = 23A1
UDP:

           0: 0800 20a9 8cfa 0050 bdf4 b81c 0800 4500 .. ....P......E.
          16: 0064 0114 0000 1d11 9490 8e4d 0b2d cd96 .d.........M.-..
          32: a0d4 1378 00b1 0050 23a1 0001 0007 0042 ...x...P#......B
          48: 0000 0100 0001 0004 8e4d 0b2d 0000 0000 .........M.-....
          64: 0100 124d 4954 2d4d 4147 4943 2d43 4f4f ...MIT-MAGIC-COO
          80: 4b49 452d 3100 1b2d 4574 6865 726e 6574 KIE-1..-Ethernet
          96: 2d30 303a 3030 3a61 373a 3033 3a62 663a -00:00:a7:03:bf:
         112: 6163 ac
4) sun (udp/177) -> ncd
UDP: ----- UDP Header -----
UDP:
UDP: Source port = 177
UDP: Destination port = 4984
UDP: Length = 60
UDP: Checksum = 80F2
UDP:

           0: 0000 0c07 aca0 0800 20a9 8cfa 0800 4500 ........ .....E.
          16: 0050 ff8c 4000 ff11 742a cd96 a0d4 8e4d .P..@...t*.....M
          32: 0b2d 00b1 1378 003c 80f2 0001 0008 002e .-...x.<........
          48: 11d4 f101 0000 0000 0012 4d49 542d 4d41 ..........MIT-MA
          64: 4749 432d 434f 4f4b 4945 2d31 0010 0320 GIC-COOKIE-1...
          80: 6813 3450 6979 1927 5e67 533f 093c h.4Piy.'^gS?.<

Any help is appreciated.

Thanks,
-Matthew
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:34 EDT