This is the mail archive of the
mailing list for the Cygwin XFree86 project.
RE: Cygwin/X server -query fails with recent versions of Gnome GDM
- From: "Richard Evans" <richard dot evans at datanomic dot com>
- To: <cygwin-xfree at cygwin dot com>
- Date: Fri, 9 Oct 2009 15:50:29 +0100
- Subject: RE: Cygwin/X server -query fails with recent versions of Gnome GDM
- References: <974066EF77EEA44EB8AED6ADA05DBD02EC8AA9@THHS2EXBE1X.hostedservice2.net> <4ACCDB62.firstname.lastname@example.org>
- Reply-to: cygwin-xfree at cygwin dot com
Thanks for the analysis. I did try adding root and gdm /etc/passwd at
the cygwin end and the query then worked.
I agree that this is a bug in GDM - I will see about posting a report
there. Might be worth adding this to a FAQ in case GDM is not fixed.
From: Jon TURNEY [mailto:email@example.com]
Sent: 07 October 2009 19:18
Cc: Richard Evans
Subject: Re: Cygwin/X server -query fails with recent versions of Gnome
On 30/09/2009 10:34, Richard Evans wrote:
> Cygwin 1.7beta, cygcheck output attached.
> I am trying to start a remote session using:
> XWin -query host
> where the host is running GDM from Gnome 2.28. The connect fails. A
> wireshark network snoop (attached) shows that GDM is sending
Thanks for the packet capture, that helps a lot understanding what's
> X_ChangeHosts requests with an address family of 5 (ServerInterpreted)
> and a address like
> XWin responds with a BadValue error and the connection attempt fails.
> speculate that XWin was compiled without support for the
> ServerInterpreted address family.
I don't think this speculation is well-founded. :-)
So GDM is doing the equivalent of:
$ xhost +si:localuser:root
$ xhost +si:localuser:gdm
... which fails, I'm guessing for the not entirely unreasonable reason
these users don't exist.
> I cannot find a workround for this.
You might try adding users root and gdm in your cygwin installation
by adding them to /etc/passwd)
If that works around the problem, I think it's probably a bug in GDM
fails if these users don't exist.
Even after reading the manpage formerly known as Xsecurity ('man 7
and the source, I'm really not clear about how this form of credentials
supposed to work, but it seems pretty clear that they can only work
Note that a server built with NO_LOCAL_CLIENT_CRED (or old enough to
these credentials) will reject all si:localuser and si:localgroup
so it seems GDM should be prepared for it to fail...
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html