Subject: how do I run a local xchooser?
To: NetBSD Users's Discussion List <netbsd-users@netbsd.org>
From: Greg A. Woods <woods@planix.ca>
List: netbsd-users
Date: 12/02/2006 16:52:06
--pgp-sign-Multipart_Sat_Dec__2_16:51:55_2006-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

I got side-tracked a wee bit trying to debug some X problems on my
worksation and one of my tests was to login directly to another server
in the same way one does from a standard X-Terminal.  I.e. to have the
Xchooser run, click on a server hostname, and get an Xdm login widget
from that server.

I thought the obvious answer would be to start "X -indirect localhost"
from the Xservers file and then just fire up xdm as normal.

However that seems to have no effect.  I just get a login window.

Note that "X -indirect server" works fine if "server" is running xdm and
is listening for XDMCP requests.

In Xdm's code it appears to me that it should have the sockets open in
time, and I would have thought the Xserver would wait a bit for a reply
(thus giving Xdm time to get into the right service mode were it would
receive the request), but that doesn't seem to happen.  The local xdm is
definitely listening for requests, both according to fstat(1), and I can
get a login window from it using my NCD.

(The current Xchooser doesn't seem to do broadcasts properly either -- I
just get one usless "list" entry in the chooser box (I have not host
"list") and there's no "rebroadcast" button like there is on my NCD's
chooser.)

--=20
						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>       Secrets of the Weird <woods@weird.com>

--pgp-sign-Multipart_Sat_Dec__2_16:51:55_2006-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: 8aQ70iMU+sOH2P5G2pewx9afJeunZDpL

iQA/AwUBRXH1hWZ9cbd4v/R/EQLIrACdGtL1BESZn9UXV8MPBeiUEnFXvlAAoOz5
iSJSYK6+wUoqk19VwgECzxZI
=sDoF
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Sat_Dec__2_16:51:55_2006-1--