This is the mail archive of the cygwin mailing list for the Cygwin 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: Cygwin/X : display error with latest x-related packages


Dear Mr Turney,

Solution #1 solved my problem: I added this option when launching the X server and 
it works, thank you.
> 1. If the program is running on a remote host and you are trying to
> connect over TCP (rather than using ssh tunnelling, the recommended way
> to do that) you will now need to start the server with the option
> '-listen tcp'.

I saw this on the announcement, but I didn't try it since I was sure not to be in 
that remote case : I was running it locally. Although I do not understand why it 
is now working, anyway, I am now able to do what I needed to.
Sorry for not having tried this solution before asking for help.

Many thanks !
xflr6

On 13/03/2015 14:54, Jon TURNEY wrote:
> On 12/03/2015 15:18, xflr6 wrote:
> > I recently experienced a problem with a program using the X window system.
> > With the latest Cygwin release, the latter program is not able to open the display,
> > whereas with previous versions of cygwin (+ the x-window machinery, i.e
> > the Cygwin/X installation as described in the installation notes, with xlaunch,
> > xinit, xorg-server etc.) (prior to mid-February 2015), it was working correctly.
> > Other programs using the X window system, such as ghostview for example,
> > is working correctly on my installation.
> > I have seen on the Cygwin/X news that X server and X.Org X11 packages
> > have been upgraded to newer versions, and I was wondering if there was
> > a known loss of backward compatibility with these fresh versions (even a
> > simple change, like in the DISPLAY variable or something like that) ?
> 
> Unfortunately, you are rather vague about what program you are running
> and where you are running it, so I can only guess, but there are two
> recent changes which might be the cause of your problems.
> 
> 1. If the program is running on a remote host and you are trying to
> connect over TCP (rather than using ssh tunnelling, the recommended way
> to do that) you will now need to start the server with the option
> '-listen tcp'.
> 
> 2. If you are running the program locally and explicitly setting the
> DISPLAY variable yourself, you should be setting it to ":0.0" not
> "localhost:0.0" or "127.0.0.1:0.0" or "::1:0.0" (to avoid trying to use
> a TCP connection)
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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