From mike@boobaz.net Wed Oct 9 13:00:39 2002 Received: from mailscan1.cac.washington.edu (mailscan1.cac.washington.edu [140.142.32.16]) by lists.u.washington.edu (8.12.1+UW01.12/8.12.1+UW02.09) with SMTP id g99K0aFD059280 for ; Wed, 9 Oct 2002 13:00:36 -0700 Received: FROM mxu4.u.washington.edu BY mailscan1.cac.washington.edu ; Wed Oct 09 13:00:35 2002 -0700 Received: from boobaz.net (12-228-56-158.client.attbi.com [12.228.56.158]) by mxu4.u.washington.edu (8.12.1+UW01.12/8.12.1+UW02.09) with ESMTP id g99K0ZIr016769 for ; Wed, 9 Oct 2002 13:00:35 -0700 Received: from 12-228-56-158.client.attbi.com (12-228-56-158.client.attbi.com [12.228.56.158]) by boobaz.net (8.11.6/8.11.6) with ESMTP id g99K0Zm12124 for ; Wed, 9 Oct 2002 13:00:35 -0700 Date: Wed, 9 Oct 2002 13:00:35 -0700 (PDT) From: "M. Hornung" X-X-Sender: mike@localhost.localdomain To: UW Linux Group Subject: Re: Use XDMCP? (Was: [OT] Recommend X Server for M$ Windoze?) In-Reply-To: <20021009124452.A31569@hurston.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Try running 'tcpdump' on both ends of the connection. It'll be more helpful to *know* that the XDMCP request is transmitted from the client box, that it was *received* from the server box, and whatever else happens. Client: tcpdump -ln 'host 1.2.3.4' (where 1.2.3.4 is the IP of the X server) Server: tcpdump -ln 'host 1.2.3.5' (where 1.2.3.5 is the client IP) =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -=<(| mike@boobaz.net |)>=- http://www.boobaz.net/key.html 81CE 668E BC9D EDFE 08ED D8D7 84A7 4F32 54C2 68F8 On Wed, 9 Oct 2002 at 12:44, William C. Rowden wrote: |Does anyone use X Display Manager Control Protocol (XDMCP) with the X |Display Manager (XDM) running on a Linux host? I want to try running |the KDE chooser so the remote login and use appear the same to the |users as the console login and use does. However, XDM (KDM, actually) |does not appear to answer XDMCP queries. | |(By the way, I want to thank Mark L. Chang, David Fetrow, Michal |Guerquin, Scholz Matthew, Dan Sanderson, and any others who responded |to my question about X Servers. I have downloaded trial versions of |two X Servers--MI/X because it was inexpensive and X-Win32 because it |was recommended.) | |I've checked, and the daemon is listening for XDMCP requests [1]. (I |had to send SIGTERM to the "/usr/bin/kdm" process and let `init` |respawn it, before it would listen on port 177 [2]. Re-reading the |configuration files after SIGHUP was not sufficient to bind the port. |Other configuration changes to "/etc/kde/kdm/kdmrc"--e.g., |GreetString--took effect, though, so I knew I was editing the correct |configuration file.) I'm thankful I'm behind a firewall; I think I've |enabled everything [3]. | |I've watched, and both MI/X and X-Win32 send XDMCP requests [4]. It |appears they never receive an answer. Has anyone encountered this? |Is there something I'm overlooking? | |I hope this isn't too much detail. I want to show what I've done so |far, to help diagnose the problem and to provide information for |anyone else who might try this: | |[1] netstat -ul | grep xdmcp | |[2] kill -TERM `cat /var/run/xdm.pid` | |[3] See, for example, |. The |host runs Red Hat 7.2 Linux 2.4.7-10. Here are more configuration |details: | | $ grep daemon /etc/init.d/xfs | daemon xfs -droppriv -daemon | | $ grep Port /etc/X11/xdm/xdm-config | DisplayManager.requestPort: 177 | | $ grep '^\*' /etc/X11/xdm/Xaccess | * #any host can get a login window | * CHOOSER BROADCAST #any indirect host can get a chooser | | $ grep -A4 Xdmcp /etc/kde/kdm/kdmrc | [Xdmcp] | #Whether KDM should listen to XDMCP requests. Default is true. | Enable=true | #The UDP port KDM should listen on for XDMCP requests.Don't change 177. | Port=177 | | $ grep :initdefault /etc/inittab | id:5:initdefault: | | $ ls -l /etc/X11/xdm/Xservers | -r--r--r-- 1 root root 487 Sep 5 2001 /etc/X11/xdm/Xservers | | $ ls -l /etc/X11/xdm/Xsetup_0 | -rwxr-xr-x 1 root root 441 Aug 22 2001 /etc/X11/xdm/Xsetup_0 | | $ grep FontPath /etc/X11/XF86Config-4 | #Multiple FontPath entries are allowed (they are concatenated together) | FontPath "unix/:7100" | | $ grep :5:respawn /etc/inittab | x:5:respawn:/etc/X11/prefdm -nodaemon | # ipchains -nL | grep 177 | known udp ------ 0.0.0.0/0 0.0.0.0/0 * -> 177 | |By the way, the IP address from which I send the UDP XDMCP requests to |port 177 is in the "known" chain. | |[4] tcpdump -l port 177 |-- | -William |This system has been running 243 days since the janitor knocked it over. |When did you last reboot Windows? | .