Can't get XDMP to work

Johan Parin johan.parin@abc.se
Tue Aug 31 18:40:00 GMT 2004


Hi all,

I'm trying to connect to xdm on my Linux box running Debian Woody to
use my Windows box as an X terminal. My problem is, I can't get a
login window. I've done the following on the Linux box:

In the Xaccess file, I uncommented the following line:

*                                       #any host can get a login window

In the xdm-config file, I commented out the following:

! DisplayManager.requestPort:   0

I can see that xdm is running on the Linux box. I then edited the
startxdmcp.bat script that comes with cygwin and set REMOTE_HOST to
the ip of my Linux box.

After these steps, when I run startxdmcp.bat I just get an emtpy root
window, no login window. After a while it times out and /tmp/XWin.log
looks as follows:

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.7.0.0-12

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin -query 192.168.1.1 -nodecoration 
-lesspointer 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
(WW) /tmp mounted int textmode
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "0000041D" (0000041d) 
(--) Using preset keyboard for "Swedish (Sweden)" (41d), type "4"
Rules = "xorg" Model = "pc105" Layout = "se" Variant = "(null)" Options = "(null)"
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
winPointerWarpCursor - Discarding first warp: 640 497

Fatal server error:
XDMCP fatal error: Session failed Session 225008001 failed for display 192.168.0.1:0: Cannot open display

winDeinitMultiWindowWM - Noting shutdown in progress


On the Linux box, in xdm.log I get:xdm error (pid 485): Hung in XOpenDisplay(192.168.0.1:0), aborting
xdm error (pid 485): server open failed for 192.168.0.1:0, giving up
xdm error (pid 239): Display 192.168.0.1:0 cannot be opened
xdm error (pid 239): Display 192.168.0.1:0 is being disabled

The strange thing is the reference to display 192.168.0.1:0 in both
/tmp/XWin.log and xdm.log. The Windows box has IP 192.168.1.2 and the
Linux box 192.168.1.1.


Any clue as to what the problem is here?

Thanks in advance.


Johan



More information about the Cygwin-xfree mailing list