This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Reproducing the cygwin X problems


> From: cygwin-xfree-owner@cygwin.com 
> [mailto:cygwin-xfree-owner@cygwin.com] On Behalf Of Phil Betts
> Sent: Thursday, February 19, 2009 1:34 PM

> It might have worked, but it was wrong.  Do not set the DISPLAY
> environment variable.  It is set by ssh -Y to something similar to
> "localhost:10.0" - the actual value depends on whether there are other
> forwarded X connections to that box.

	I do not usually set it.  I only did so in the sample to satisfy FAQ 6.1.

> BEFORE running ssh, you need to ensure that $DISPLAY is set correctly
> for local connections (probably ":0").

	127.0.0.1:0, set by the system.  I ordinarily do not check it, as I've never needed to set it when things worked.

> By specifying your own value for $DISPLAY inside the ssh session, you 
> are ensuring that all X traffic bypasses the ssh tunnel and 
> sets up its 
> own (insecure and not encrypted) connection.  This new 
> connection must 
> then go through the normal authentication process and it will appear 
> to the X server as a remote connection, whereas the ssh connection 
> looks like a local connection to the server.

	FAQ needs updating, and my problem remains.


	Thanks,

Mike

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]