From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26834 invoked by alias); 6 Jan 2004 01:56:00 -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 26219 invoked from network); 6 Jan 2004 01:55:57 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 6 Jan 2004 01:55:57 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AdgRp-00067g-00 for ; Tue, 06 Jan 2004 02:55:57 +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 1AdgRn-00067Y-00 for ; Tue, 06 Jan 2004 02:55:55 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AdgRn-0002wl-00 for ; Tue, 06 Jan 2004 02:55:55 +0100 From: Andrew DeFaria Subject: Re: XDMCP Problems - Possible fix, please try Date: Tue, 06 Jan 2004 01:56:00 -0000 Message-ID: References: <3FF3677A.2080507@msu.edu> <3FFA034D.70804@msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: <3FFA034D.70804@msu.edu> X-SW-Source: 2004-01/txt/msg00107.txt.bz2 List-Id: Harold L Hunt II wrote: > Andrew, > > Andrew DeFaria wrote: > >> Sorry for the delay. We were having problems with our router and >> general networking issues - not an nice environment to test things >> like remote X... >> >> Well I tried that too but it didn't work. The symptoms are exactly >> the same. >> >> For kicks I tried the following: >> >> While on sonslinux I attempted to start another X server like so: >> >> $ X -query sonslinux :1 >> >> This brought me to another console (that I could get to by doing >> Alt-Ctrl-F8 whereas my previous console is at Alt-Ctrl-F7) and >> started X but KDM did not attach to it. Monitoring I see: > > That is genius! Why thank you! > I never thought of forcing people to try to make a connection on the > actual box itself. > > I ran the same command on my linux box and confirmed that it does work. > > I then edited (for my display manager and distribution, this will be > different for you) /etc/kde3/kdm/kdmrc, changed the following: > > [XDMCP] > Enable=true > > to > > [XDMCP] > Enable=false > > Then I restarted kdm ('/etc/init.d/kdm restart' for my dist), and ran > 'X -query %hostname% :1' again and waited about five minutes. Before > five minutes, I saw nothing: nothing special in the log files and no > login screen on Ctrl-Alt-F8. Then, after about five minutes, I saw > that the /var/log/XFree86.1.log file (and the console from which I > started X) both said: > > XDM: too many retransmissions Well you see that's sorta the problem. In my distro (SuSE 8.2) it's at /opt/kde/share/config/kdm/kdmrc but the problem is that it already says true! In mine is says: [Xdmcp] Enable=true I don't think that the capitalization of Xdmcp is significant (yours is all caps while mine is initial cap - tried changing it - didn't help) nor do I think that case is significant in the true/false value. Also, I cannot restart kdm with /etc/init.d/kdm restart as I have no /etc/init.d/kdm! I have an /etc/init.d/xdm though. When I do /etc/init.d/xdm stop it says "Shutting down service kdm" and it does shut it down. Similarly /etc/init.d/xdm start starts it. So I have no ideas why this is still not working. > We now know that the failure mode when XDMCP is disabled is that after > a five minute wait you get a message about too many retransmissions, > even if attempting to connect from the machine back to itself via > '-query %hostname%'. This is the same failure mode that happens with > XWin.exe, but it eliminates lots of possible problems. > > To solve your problem, you need to revisit the instructions for > enabling XDMCP on your Linux box: > > http://xfree86.cygwin.com/docs/faq/cygwin-xfree-faq.html#q-mandrake-8.1-xdmcp > > > Those instructions are not complete, but they are a start that should > be able to point you in the right direction. Confirm that you can > create a local connection via XDMCP before attempting a remote > connection with XWin.exe. Please report your results to the list so > that I know if you have fixed your problem or not. > > Thanks for your help in debugging this, Well I've been there before and all it really says is to make sure that [Xdmcp] has Enable=true, which mine does. Still no does not work. -- I've always wanted to be somebody, but I should have been more specific.