delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/13/10:54:31

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=uEr3mvqHtpsCq4EV
hsOohCE9A7iDTsU5PQt1NifNK/RrxnX+Ggjp/ZQ/ZdK7owHQh7mUqcdtzZSOz5Q2
QN63jSbkIYFwKDYeVDwKkQT/fG0lPePjbPL5v1iNbK+eHWMsEusZ0dv9BCqmZaN0
+NpSrzrfvhXimtoEcZ6r2W/xV0s=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=rHMltCQoAbfw+ZCCUQOooB
pe2CY=; b=pO5Z5WBNuu0JVgwqwbn8jwCFOylfB3Shc+Rt9B3P0HKtS2/wCKuSN0
fcdH2SL2gJvSl/UlwDVFCc/EWL6kGZdQVerNJzbArvprsHgjGZOMJQSEhWxWyKer
qvDykINCZdCrzeLAZtIE28wm7NxnEgufjW6s5uocRsdmWJQUxVDdE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2
X-HELO: out1-smtp.messagingengine.com
Message-ID: <5502FA07.3040000@dronecode.org.uk>
Date: Fri, 13 Mar 2015 14:53:59 +0000
From: Jon TURNEY <jon DOT turney AT dronecode DOT org DOT uk>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: xflr6 <xflr6 AT orange DOT fr>, cygwin AT cygwin DOT com
Subject: Re: Cygwin/X : display error with latest x-related packages
References: <1103630354 DOT 21266 DOT 1426173510721 DOT JavaMail DOT www AT wwinf1m22>
In-Reply-To: <1103630354.21266.1426173510721.JavaMail.www@wwinf1m22>

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)

[1] https://cygwin.com/ml/cygwin-xfree-announce/2015-02/msg00026.html
[2] 
http://x.cygwin.com/docs/ug/using-remote-apps.html#using-remote-apps-telnet
[3] 
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-remote-clients-cant-connect
[4] https://cygwin.com/ml/cygwin-xfree/2015-02/msg00051.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019