X-Recipient: archive-cygwin@delorie.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:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=Ze0lcfb0sKViUL0O
	TdMTmReZxFWXzey3V1Vj36zJiuJ97SNmsBHrMdI6d7JFlvnenoNl7YcNBSv2gB7G
	H9yZK2WR6DL4AZE2/YbQphUWGEU0eYhB7wc5s2TX1SUnC/7r346rZbEqAMmeJkhY
	KWkYDyr3px/bQeD3n5LLz9QOSmg=
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:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=D2Rv2JLjGQbL9IF5ypmxad
	KaFHE=; b=l2XA6xP2LU3oWij1hVohSiEnJJa+H8BAPw5iAa4BaxGI3lsxq+O04e
	Z5QEG9iMeirZSa/QT1OBF1gZ6SdgwEkl4l8izqwzNmkI1vhW6B1IU53IiNJGeSfd
	0KtRDOLh2hx903+6iQ1LJYBiwcBImISOkk17qOBfLeJu3q3TIUP2Y=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=cygwin-ug-net, cygwinugnet
X-HELO: mail-io0-f182.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:to:references:from:message-id:date         :user-agent:mime-version:in-reply-to:content-transfer-encoding;        bh=gHXJapcSgeH1sMIVMbnihzYWak1NmHqqpi2P18ctBds=;        b=seLxd0j7YUttzwhuxjNKSIzDo/fEDMC329/xQ9ZB9den+py4ODgcs8TAaiXLKS/mWR         WTEuCa+/oyVxxGKRn2+4zY8MKXOm52YMzKx5iMDxZSHwEJ/mYpxlC7QghYRy3nKLCkW6         FJpAFCw72w1tT2f9pOqKKhYhP+DbMs2hLfnkGpiBfCVjK/XjdA47KtHrNncrwQKS2QiZ         dOC1lmcq4zxUcPjnPdEoVi1mQA7m69mWdI3MLXgC/V0MGtPRek6T/A0IvcpbXo78xU4H         Wi/71uzLNO2cIxYqtl1MMAiCeElzHW3zOCob2Golt1PX9rWCnwObZ8FzQNNsIomqQrLu         aS4w==
X-Gm-Message-State: AMke39nZl0GmpqbLUus0oEmQjUAqbBOMf9KyNjZWZKaiTiSto2d8CQ+IJTz8ylnNwPfB4w==
X-Received: by 10.107.59.69 with SMTP id i66mr11112197ioa.10.1487429425518;        Sat, 18 Feb 2017 06:50:25 -0800 (PST)
Subject: Re: XWin no longer working for me with -nolisten tcp?
To: cygwin@cygwin.com
References: <58A77737.5070104@gmail.com> <58A77B77.7090603@codespunk.com>
From: cyg Simple <cygsimple@gmail.com>
Message-ID: <a230a79a-4af4-64d3-f97b-b1cdcf61f232@gmail.com>
Date: Sat, 18 Feb 2017 09:50:42 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
MIME-Version: 1.0
In-Reply-To: <58A77B77.7090603@codespunk.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 2/17/2017 5:38 PM, Matt D. wrote:
> 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@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
> 

Are the permissions as you expect?  What about a chown action on the
/tmp folder?  Also if you have /etc/password and /etc/group files
instead of /etc/nsswitch.conf you might want to look at
https://cygwin.com/cygwin-ug-net/ntsec.html.

-- 
cyg Simple

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

