delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/13/12:25:12

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:date:from:reply-to:to:message-id:in-reply-to
:references:subject:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=RQbUG9eSrpw4y1ZN
EZUuwtkHaagW9/3EHL4nc2gFmw/nV85oBWRKYkUyqcHhJjuOynhN/ItsOqXnXVME
KuTUsiQf1V+lcnqEeZS23p7W8AAfcigZmwJb0BY1zW8sBi3K+oeHi4cvQ36m7rJE
zAHf+q/flGsp/979mmmbQEZ6CPg=
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:date:from:reply-to:to:message-id:in-reply-to
:references:subject:mime-version:content-type
:content-transfer-encoding; s=default; bh=yW2H07lZz9Wvs5tLGlpCpr
SQ2XM=; b=bY5BifxRtrnGoENw1tU9i54Snrnfr30Ftv33H/wEHv9gkJ3YnbW5to
+MwotZ+aqMUExi989SEUS1Tbk5GeakVZQQ1Ufr35oUAf6oRKVigRAoaBIu3EBDrM
dUplbFjh3KTtZca4E/BvEXukh+q7CUVn+nSwm07RaFHU0RKveo8zI=
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.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: smtp.smtpout.orange.fr
X-ME-Helo: wwinf1c11
X-ME-Auth: eGZscjZAb3JhbmdlLmZy
X-ME-Date: Fri, 13 Mar 2015 17:24:47 +0100
X-ME-IP: 89.225.206.162
Date: Fri, 13 Mar 2015 17:24:47 +0100 (CET)
From: xflr6 <xflr6 AT orange DOT fr>
Reply-To: xflr6 <xflr6 AT orange DOT fr>
To: cygwin AT cygwin DOT com
Message-ID: <1715604875.25342.1426263887637.JavaMail.www@wwinf1c11>
In-Reply-To: <5502FA07.3040000@dronecode.org.uk>
References: <1103630354 DOT 21266 DOT 1426173510721 DOT JavaMail DOT www AT wwinf1m22> <5502FA07 DOT 3040000 AT dronecode DOT org DOT uk>
Subject: Re: Cygwin/X : display error with latest x-related packages
MIME-Version: 1.0
X-WUM-FROM: |~|
X-WUM-TO: |~|
X-WUM-REPLYTO: |~|

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

- Raw text -


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