From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21322 invoked by alias); 6 Jan 2004 02:31:32 -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 21299 invoked from network); 6 Jan 2004 02:31:27 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 6 Jan 2004 02:31:27 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Adh0B-0006Mn-00 for ; Tue, 06 Jan 2004 03:31:27 +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 1Adh09-0006Mf-00 for ; Tue, 06 Jan 2004 03:31:25 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Adh09-0003kC-00 for ; Tue, 06 Jan 2004 03:31:25 +0100 From: Andrew DeFaria Subject: Re: XDMCP Problems - Possible fix, please try Date: Tue, 06 Jan 2004 02:31:00 -0000 Message-ID: References: <3FF3677A.2080507@msu.edu> <3FFA034D.70804@msu.edu> <3FFA1765.3070806@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: <3FFA1765.3070806@msu.edu> X-SW-Source: 2004-01/txt/msg00109.txt.bz2 List-Id: Harold L Hunt II wrote: > Andrew DeFaria wrote: > >>> 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 > > kdm != xdm > > kdm has a distinct configuration file from xdm's configuration file. Yes but there appears to be some intertwining on SuSE at least. > xdm.config lives in either /etc/X11/xdm/xdm.config or > /usr/X11R6/lib/X11/xdm/xdm-config, where you will see something like > the following: > > ! 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 > > > So, you have to change that to: > > ! 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 > > Then restart xdm and it should work. sonslinux:/home/defaria # grep requestPort /etc/X11/xdm/xdm-config !DisplayManager.requestPort: 0 sonslinux:/home/defaria # grep requestPort /usr/X11R6/lib/X11/xdm/xdm-config !DisplayManager.requestPort: 0 sonslinux:/home/defaria # Actually: sonslinux:/home/defaria # ll /usr/X11R6/lib/X11/xdm lrwxrwxrwx 1 root root 23 2003-12-12 15:29 /usr/X11R6/lib/X11/xdm -> ../../../../etc/X11/xdm And DisplayManager.requestPort had been commented out a long time ago (and xdm/kdm definitely has been restarted since commenting this out). -- The careful application of terror is also a form of communication.