From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97738 invoked by alias); 24 Feb 2015 16:55:42 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 97726 invoked by uid 89); 24 Feb 2015 16:55:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: Yes, score=5.6 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pd0-f175.google.com Received: from mail-pd0-f175.google.com (HELO mail-pd0-f175.google.com) (209.85.192.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 24 Feb 2015 16:55:40 +0000 Received: by pdbnh10 with SMTP id nh10so34550836pdb.11 for ; Tue, 24 Feb 2015 08:55:39 -0800 (PST) X-Received: by 10.67.4.70 with SMTP id cc6mr30462256pad.136.1424796938984; Tue, 24 Feb 2015 08:55:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.70.35.195 with HTTP; Tue, 24 Feb 2015 08:55:17 -0800 (PST) From: Fj Date: Tue, 24 Feb 2015 16:55:00 -0000 Message-ID: Subject: Re: Can't open display with PuTTY and xinit 1.3.4-1 To: cygwin-xfree@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00072.txt.bz2 On 2015-01-05 05:31, Laurens Blankers wrote: > When using PuTTY with X11 forwarding enabled X clients are no longer able to connect to the X server running locally. When reverting back to 1.3.2-1 the problem goes away. > This may be related to the -nolisten tcp which is now the default[1]. If this is indeed the case it would be create of adding the '-listen' flag to startxwin could be added to the FAQ. Or another, more secure, solution would also be appreciated. Hi, I updated Cygwin today and hit the same problem, except even after I added "-listen tcp" xterm (and gvim) still refused to work complaining about "No protocol specified" (before was: "Can't open display"). Putty logs say "Opening X11 forward connection succeeded" (before "-listen tcp" it was: "Forwarded X11 connection terminated due to local error"), which seems to indicate that the problem is with the X server (and the way xterm/gvim communicate with it). Ssh-ing to the server from Cygwin terminal works and I can even launch gvim from the Putty's tty by specifying the same DISPLAY the Cygwin connection provides. After reverting to some early 2014 version of xinit and xorg (thank god for Cygwin Time Machine) everything resumed working properly. (on a side note, I tried to figure out what are the possible "-listen" options by looking at the xserver code, there are three, "tcp", "unix", "local". What does "local" mean, couldn't it be loopback adapter? Where is "_XSERVTransNoListen" function implemented?) -- Fj. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/