From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17940 invoked by alias); 23 Dec 2003 02:09:06 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Reply-To: cygwin-xfree@cygwin.com Received: (qmail 17544 invoked from network); 23 Dec 2003 02:09:03 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 23 Dec 2003 02:09:03 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AYbyp-0000qJ-00 for ; Tue, 23 Dec 2003 03:09:03 +0100 To: cygwin-xfree@cygwin.com Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AYbyn-0000qA-00 for ; Tue, 23 Dec 2003 03:09:01 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AYbyn-0008Ao-00 for ; Tue, 23 Dec 2003 03:09:01 +0100 From: Andrew DeFaria Subject: Re: not getting login using xdmcp Date: Tue, 23 Dec 2003 07:26:00 -0000 Message-ID: References: <3FDFC814.7050600@comcast.net> <3FE78ED8.7030009@msu.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060803080900000207030209" X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 In-Reply-To: <3FE78ED8.7030009@msu.edu> X-SW-Source: 2003-12/txt/msg00318.txt.bz2 List-Id: This is a multi-part message in MIME format. --------------060803080900000207030209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 4219 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 or 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. --------------060803080900000207030209 Content-Type: text/plain; name="XWin.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="XWin.log" Content-length: 2783 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 --------------060803080900000207030209--