www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/02/17/17:39:13

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:subject:reply-to:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=BYje8SWCCaoLAO7e
f9O9ijCFgqVMIH9k0/iILlPdPsC/Kz4txjKslYTelH7ioiDFWiI2ohEsPsMwEidk
3Sy3VsMVaHLc73SdYENg2gPOKvde39LYD0/ippMOe1VTFzWqI3O/1R+UPxaC0AzW
HVMlqfUCeq1F6KuO84HIrX7MY/I=
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:subject:reply-to:references:to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=VYEp41TA6ZJ4aOj6Bkxkvh
u+B5I=; b=h0Bo97JidfwMr0KDlWqDE1brml+N3LxG89CoUYYj9efE0jjEpXrVIl
yhv8DQZz1/RrJmfeb3oblTez7fCt9wlaprTKLNaPcw+mHRBbIQzO8RE+JqaU5AKs
H1NEkJxxdqz3IojUCs/92A983bSCWNeIS5b0OxwNjpRdYBzDBywok=
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=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:U*matt
X-HELO: mail-pf0-f175.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:reply-to:references:to:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=UEkGy1hpTHKxMh0I1h9kVm9mHRUOzQTCuqApaCxBWfQ=; b=VOc16WtzfndoQgkH+kSoreLSWj/ElYpm4GXCcuxQsM0fQQnfqsB7dkNBHeCGLsOvI/ zLM9fw8304AOq7dbkwqyBEIYMp0/tQpkZMxl3uG2B5Edafxi0GuaRwG1XDJZJbiozeJl kv0WbwtvUqamdh4QVsI94/46FUTLKYDvEal/TNVGS9EDjccBCJeqjFAD/HWytTx0v0H/ ExM+SKgnMRRR6GvP3m/v6I/qL58Y41DysxLmi+uPOWQ1ZaCmSlizP/Zrh2t4QFMeCM9P uJgLE4CgyAbDjgK1dtxWLqWGJ916WoqCZTW+lmhL6FjOepuRU23Hy68K65gMmyS4CosC TSzw==
X-Gm-Message-State: AMke39mkz2UdEw2JnEkp9z51sH3Gh7CIXHwVKKkyV1LYT0pRlgFykQyF/ZBGuwNxKCyrIg==
X-Received: by 10.99.237.17 with SMTP id d17mr12800647pgi.82.1487371127510; Fri, 17 Feb 2017 14:38:47 -0800 (PST)
Subject: Re: XWin no longer working for me with -nolisten tcp?
Reply-To: codespunk+cygwin AT gmail DOT com
References: <58A77737 DOT 5070104 AT gmail DOT com>
To: cygwin AT cygwin DOT com
From: "Matt D." <matt AT codespunk DOT com>
Message-ID: <58A77B77.7090603@codespunk.com>
Date: Fri, 17 Feb 2017 14:38:47 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <58A77737.5070104@gmail.com>

This workaround I mentioned only appears to work for my local X session. 
For example, I can open a local xterm from Cygwin:

$ xterm

But once I connect elsewhere:

$ ssh me AT somewhere -Y

I get the following error when trying to bring up an xterm:

$ xterm
connect /tmp/.X11-unix/X0: Permission denied
xterm: Xt error: Can't open display: localhost:10.0

I tried purging /tmp on Cygwin but to no avail.

Note that the server I am connecting to has not been rebooted in months 
and nothing has changed there.


Matt D.


On 2/17/2017 2:20 PM, Matt D. wrote:
>
> I just recently formatted and reinstalled Windows 10 x64. I have not
> updated anything related to Cygwin and everything version-wise is just
> as it was.
>
> I was previously starting X with the following:
>
> $ xinit -- -multiplemonitors -multiwindow -clipboard -noprimary -dpi 96
> -nolisten tcp -displayfd 3 3>/c/home/.display
>
> But now it fails to open the display:
>
> http://pastebin.com/raw/bLHTWcrS
>
> I can get around this issue by using "-listen tcp" instead of "-nolisten
> tcp" but I don't understand why. This is especially ironic considering
> that this is the complete opposite workaround to what I had to use three
> years ago:
>
> https://cygwin.com/ml/cygwin-xfree/2014-07/msg00017.html
>
>
> Matt D.
>

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