Hi, I have not watched the previous posts, but have you tried to start the XServer XFree without XDMCP? And then to connect via telnet + export Display to your host? (or even easier with "ssh -X") Is this possible?
regards, Darko > Hi, > > I know this has been around for some time, couldn't find a solution yet > , > though. > > My Machine: W2K, running most cygwin installed via setup.exe with > setting:current on Feb 5th 02. > And yes: I use TokenRing. But: If there are problems with Token Ring - > why > are there udp-packets (at > least a few - see below) exchanged between server and client ? > > Without XDMCP (like: ssh to host and startkde there) works fine. > > I start XWin like this: > > XWin.exe -query <dst-hostname> -from <src-hostname> -ac > > /tmp/XWin says: > > ddxProcessArgument () - Initializing default screens > winInitializeDefaultScreens () - w 1024 h 768 > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root > winDetectSupportedEngines () - Windows NT/2000 > winDetectSupportedEngines () - DirectDraw installed > winDetectSupportedEngines () - Allowing PrimaryDD > winDetectSupportedEngines () - DirectDraw4 installed > winDetectSupportedEngines () - Returning, supported engines 0000001f > winSetEngine () - Using Shadow DirectDraw NonLocking > winAdjustVideoModeShadowDDNL () - Using Windows display depth of 32 bit > s > per pixel > winAdjustForAutoHide - Original WorkArea: 0 0 768 1024 > winAdjustForAutoHide - Taskbar is auto hide > winAdjustForAutoHide - Found TOP auto-hide taskbar > winAdjustForAutoHide - Adjusted WorkArea: 1 0 768 1024 > winCreateBoundingWindowWindowed () - WindowClient w 1018 h 742 r 1018 l > 0 b > 742 t 0 > winCreateBoundingWindowWindowed () - Returning > winAllocateFBShadowDDNL () - lPitch: 4072 > winInitVisualsShadowDDNL () - Masks 00ff0000 0000ff00 000000ff BPRGB 8 > d 32 > winLayerCreate () - dwDepth 32 > winRandRInit () > winCreateDefColormap () - Deferring to fbCreateDefColormap () > winScreenInit () - returning > error opening security policy file > /usr/X11R6/lib/X11/xserver/SecurityPolicy (I moved that one, just > in > case, didn't work before either) > > Fatal server error: > XDMCP fatal error: Session declined No valid address > > Ok. Now I just read about a debug-Version auf XWin, which i promptly > downloaded and tried: > > /usr/X11R6/bin/debug>./XWin-debug.exe -query <dest> -from <src> -ac > InitConnectionLimits: MaxClients = 255 > ddxProcessArgument () - Initializing default screens > winInitializeDefaultScreens () - w 1024 h 768 > _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root > Xserver: DefineSelf(): ifname = lo, addr = 127.0.0.1 > Xserver: DefineSelf(): ifname = eth0, addr = 0.0.0.0 > Xserver: DefineSelf(): ifname = eth0, baddr = 255.255.255.255 > Xserver: DefineSelf(): ifname = eth1, addr = 0.0.0.0 > get_xdmcp_sock: binding xdmcp socket to addr <correct-dotted-dec-addr>: > 0 > (EE) Unable to locate/open config file > Error reading config file > winDetectSupportedEngines () - Windows NT/2000 > winDetectSupportedEngines () - DirectDraw installed > winDetectSupportedEngines () - Allowing PrimaryDD > winDetectSupportedEngines () - DirectDraw4 installed > winDetectSupportedEngines () - Returning, supported engines 0000000f > winSetEngine () - Using Shadow DirectDraw NonLocking > winAdjustVideoModeShadowDDNL () - Using Windows display depth of 32 bit > s > per pixel > winAdjustForAutoHide - Original WorkArea: 0 0 768 1024 > winAdjustForAutoHide - Taskbar is auto hide > winAdjustForAutoHide - Found TOP auto-hide taskbar > winAdjustForAutoHide - Adjusted WorkArea: 1 0 768 1024 > winCreateBoundingWindowWindowed () - WindowClient w 1018 h 742 r 1018 l > 0 b > 742 t 0 > winCreateBoundingWindowWindowed () - Returning > winAllocateFBShadowDDNL () - lPitch: 4072 > winInitVisualsShadowDDNL () - Masks 00ff0000 0000ff00 000000ff BPRGB 8 > d 32 > winCreateDefColormap () - Deferring to fbCreateDefColormap () > winScreenInit () - returning > error opening security policy file > /usr/X11R6/lib/X11/xserver/SecurityPolicy > Segmentation fault (core dumped) > > .... probably some other error ? but it looks like the ip comes out fin > e > > Now - I also have Exceed installed on this machine and the > Destination-Server has Solaris 8, so > i dumped the IP-Packets for both X-Servers that got sent to the Host: > > This is with cygwin-XFree, the startup-command was: > > XWin -query chekov -from 6.201.253.220 -class HCLpcXserver -displayID > HCLpcXserver:8CF0463DB -noreset > (the class and displayID-stuff went in the invocation because it made t > he > whole thing look more exceedish > on a packet-level - wild guessing) > > Me is my machine with Xfree86 and TheServer is the Solaris-box which I > want > to contact via XDMCP. > > In Packet 3 things start to differ... > > 1 0.00000 Me -> TheServer UDP D=177 S=1442 LEN=15 > > 0: 1040 0800 20a2 ae7d 0000 f682 baa8 aaaa .@.. ..}...... > .. > 16: 0300 0000 0800 4500 0023 2245 0000 8011 ......E..#"E.. > .. > 32: 1783 XXXX XXXX XXXX XXXX 05a2 00b1 000f .............. > .. > 48: f876 0001 0002 0001 00 .v....... > > 2 0.00141 TheServer -> Me UDP D=1442 S=177 LEN=56 > > 0: 0040 0000 f682 baa8 0800 20a2 ae7d aaaa .@........ ..} > .. > 16: 0300 0000 0800 4500 004c f253 4000 ff11 ......E..L.S@. > .. > 32: 884a XXXX XXXX XXXX XXXX 00b1 05a2 0038 .J............ > .8 > 48: 50a7 0001 0005 002a 0000 0008 7530 3130 P......*....u0 > 10 > 64: 3231 3132 001c 3220 7573 6572 7320 206c 2112..2 users > l > 80: 6f61 643a 2030 2e30 2c20 302e 302c 2030 oad: 0.0, 0.0, > 0 > 96: 2e30 .0 > > 3 0.77793 Me -> TheServer UDP D=177 S=1442 LEN=88 > > 0: 1040 0800 20a2 ae7d 0000 f682 baa8 aaaa .@.. ..}...... > .. > 16: 0300 0000 0800 4500 006c 224c 0000 8011 ......E..l"L.. > .. > 32: 1733 XXXX XXXX XXXX XXXX 05a2 00b1 0058 .3..�....... > ...X > 48: 87b3 0001 0007 004a 0000 0000 0000 0000 .......J...... > .. > 64: 0200 124d 4954 2d4d 4147 4943 2d43 4f4f ...MIT-MAGIC-C > OO > 80: 4b49 452d 3100 1358 432d 5155 4552 592d KIE-1..XC-QUER > Y- > 96: 5345 4355 5249 5459 2d31 0016 4843 4c70 SECURITY-1..HC > Lp > 112: 6358 7365 7276 6572 3a38 4346 3034 3633 cXserver:8CF04 > 63 > 128: 4442 DB > > 4 0.00020 TheServer -> Me UDP D=1442 S=177 LEN=36 > > 0: 0040 0000 f682 baa8 0800 20a2 ae7d aaaa .@........ ..} > .. > 16: 0300 0000 0800 4500 0038 f254 4000 ff11 ......E..8.T@. > .. > 32: 885d XXXX XXXX XXXX XXXX 00b1 05a2 0024 .]......�... > ...$ > 48: 53cc 0001 0009 0016 0010 4e6f 2076 616c S.........No v > al > 64: 6964 2061 6464 7265 7373 0000 0000 id address.... > > > > When I do it with Exceed it looks like: > > > 1 0.00000 Me -> TheServer UDP D=177 S=1462 LEN=15 > > 0: 1040 0800 20a2 ae7d 0000 f682 baa8 aaaa .@.. ..}...... > .. > 16: 0300 0000 0800 4500 0023 2329 0000 8011 ......E..##).. > .. > 32: 169f XXXX XXXX XXXX XXXX 05b6 00b1 000f .............. > .. > 48: f862 0001 0002 0001 00 .b....... > > 2 0.00128 TheServer -> Me UDP D=1462 S=177 LEN=56 > > 0: 0040 0000 f682 baa8 0800 20a2 ae7d aaaa .@........ ..} > .. > 16: 0300 0000 0800 4500 004c f257 4000 ff11 ......E..L.W@. > .. > 32: 8846 XXXX XXXX XXXX XXXX 00b1 05b6 0038 .F............ > .8 > 48: 5093 0001 0005 002a 0000 0008 7530 3130 P......*....u0 > 10 > 64: 3231 3132 001c 3220 7573 6572 7320 206c 2112..2 users > l > 80: 6f61 643a 2030 2e30 2c20 302e 302c 2030 oad: 0.0, 0.0, > 0 > 96: 2e30 .0 > > 3 0.04664 Me -> TheServer UDP D=177 S=1462 LEN=75 > > 0: 1040 0800 20a2 ae7d 0000 f682 baa8 aaaa .@.. ..}...... > .. > 16: 0300 0000 0800 4500 005f 232a 0000 8011 ......E.._#*.. > .. > 32: 1662 XXXX XXXX XXXX XXXX 05b6 00b1 004b .b..�....... > ...K > 48: 0711 0001 0007 003d 0000 0100 0001 0004 .......=.... > .... > 64: 06c9 fddc 0000 0000 0100 124d 4954 2d4d ..�........M > IT-M > 80: 4147 4943 2d43 4f4f 4b49 452d 3100 1648 AGIC-COOKIE-1. > .H > 96: 434c 7063 5873 6572 7665 723a 3843 4630 CLpcXserver:8C > F0 > 112: 3436 3344 42 463DB > > 4 0.00867 TheServer -> Me UDP D=1462 S=177 LEN=60 > > 0: 0040 0000 f682 baa8 0800 20a2 ae7d aaaa .@........ ..} > .. > 16: 0300 0000 0800 4500 0050 f258 4000 ff11 ......E..P.X@. > .. > 32: 8841 XXXX XXXX XXXX XXXX 00b1 05b6 003c .A......�... > ...< > 48: d969 0001 0008 002e 0000 0046 0000 0000 .i.........F.. > .. > 64: 0012 4d49 542d 4d41 4749 432d 434f 4f4b ..MIT-MAGIC-CO > OK > 80: 4945 2d31 0010 XXXX XXXX XXXX XXXX XXXX IE-1..unreadab > le > 96: XXXX XXXX XXXX cookie-junk :) > > > > Is it possible that the cause of my troubles is the > XC-QUERY-SECURITY-1-part > of the package ? > > I tried with and without -auth, -ac -noreset, -class, -displayID, :0, > Env-var OS=WinNT/"", -sp, > -from, -broadcast, -query. > > Maybe someone can help me, thanks in advance Bye Ralf > > -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
