This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: not getting login using xdmcp


Harold L Hunt II wrote:

Andrew,

Andrew DeFaria wrote:

I have a similar problem. This is with a SuSE 8.2 installation. I had Mandrake 9.1 installed before and managed to get XDMCP working. Can't get it working with SuSE however and I'm pulling my hair out!

I have nothing in my /var/log/messages nor /var/log/kdm.log files. I'm using:

$ xwin -query sonslinux -from adefaria

X comes up but no login dialog box. XWin.log is attached.

Any help would be appreciated.

How many network interfaces do you have?

1


Find out the IP address of the interface that is actually communicating with sonslinux and make sure to specify that IP address in the -from parameter. If you give it the wrong IP, it will cause the XDM serve to be unable to send messages back to XWin.exe

Retried it with my IP address. Same problem.


XDM: too many retransmissions

This is your key log message from XWin.log. The XDM support in XWin.exe is generic to all X Servers, so you can google for this message and try to find some help there. My guess is that you either have a problem with the return address being incorrect (as I talk about above), or one of the following:


1) You have not enabled an XDM server on your Linux machine followed by a restart.

I have (an aside, my understanding is that XDMCP runs on port 177. I try to telnet to port 177 and get connection refused. Guess this is not good). As you probably know XDMCP is not enabled by default. I have changed the config files to allow it (at least I think I have) and have not only restarted kdm but have rebooted the machine to no avail.


2) You could also just not be running you linux machine at the correct run level, which would cause the XDM server to not even be started.

Sonslinux sits right next to me. I am logged into a kde session right now so I assume I'm at the proper run level.


3) You have not enabled remote XDMCP connections for the XDM server that you are running (followed by a restart):

http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-mandrake-8.1-xdmcp


NOTE: The fact that the above link says "Mandrake" can be ignored... it was originally written when Mandrake started defaulting XDMCP to being disabled, which was closely followed by my realizing that almost all distributions started doing this.

Yes. Let me read that and see what I find... (BTW this page answers my soon to be next question of why I can't XDMCP to the Solaris box - Need to use a font server! Thanks. BTW that XWin.log file may have been from my attempt to XDMCP to the Solaris box. I've attached a new XWin.log).


Enabled XDMCP in /opt/kde3/share/config/kdm/kdmrc (SuSE 8.2 - it's not listed in your table -perhaps you would like to update that).

Note I also found the following in /etc/X11/xdm/xdm-config:

! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
!
!DisplayManager.requestPort:    0

And as you can see I have commented that out. Both of these actions I have done a few days ago and have since restarted kdm and even rebooted sonslinux but the problem remains. This is why I'm pulling my hair out!

Additionally I made sure the following appears in /opt/kde3/share/config/Xaccess and /etc/X11/xdm/Xaccess:

# The nicest way to run the chooser is to just ask it to broadcast
# requests to the network - that way new hosts show up automatically.
# Sometimes, however, the chooser can't figure out how to broadcast,
# so this may not work in all environments.
#

* CHOOSER BROADCAST #any indirect host can get a chooser

Oh, BTW your link for Linux XDMCP HOWTO (http://www.linuxdoc.org/HOWTO/XDMCP-HOWTO/) when clicked yeilds:

Note: You are trying to access The Linux Documentation Project website using an old (and unsupported) URL. Please update your bookmarks to use www.tldp.org <http://www.tldp.org> or en.tldp.org <http://en.tldp.org> (if you just need the English documentation). Click to go directly to the page you requested: http://en.tldp.org/HOWTO/XDMCP-HOWTO/
--
A truly wise man never plays leapfrog with a unicorn.
ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0000001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel
winCreateBoundingWindowWindowed - User w: 1600 h: 1200
winCreateBoundingWindowWindowed - Current w: 1600 h: 1200
winAdjustForAutoHide - Original WorkArea: 0 0 1126 1600
winAdjustForAutoHide - Adjusted WorkArea: 0 0 1126 1600
winCreateBoundingWindowWindowed - WindowClient w 1594 h 1095 r 1594 l 0 b 1095 t 0
winCreateBoundingWindowWindowed -  Returning
winCreatePrimarySurfaceShadowDDNL - Creating primary surface
winCreatePrimarySurfaceShadowDDNL - Created primary surface
winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
winAllocateFBShadowDDNL - lPitch: 6376
winAllocateFBShadowDDNL - Created shadow pitch: 6376
winAllocateFBShadowDDNL - Created shadow stride: 1594
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
winInitVisualsShadowDDNL - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp 32
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winFinishScreenInitFB - returning
winScreenInit - returning
InitOutput - Returning.
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: "00000409" (00000409) 
(EE) No primary keyboard configured
(==) Using compiletime defaults for keyboard
Rules = "xfree86" Model = "pc101" Layout = "us" Variant = "(null)" Options = "(null)"
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/100dpi/, removing from list!
winPointerWarpCursor - Discarding first warp: 797 547
winBlockHandler - Releasing pmServerStarted
winBlockHandler - pthread_mutex_unlock () returned
winDeinitClipboard - Noting shutdown in progress
winDeinitMultiWindowWM - Noting shutdown in progress
winDeinitClipboard - Noting shutdown in progress
winDeinitMultiWindowWM - Noting shutdown in progress

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]