This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: XWin no longer working for me with -nolisten tcp?
- From: "Matt D." <matt at codespunk dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 17 Feb 2017 14:38:47 -0800
- Subject: Re: XWin no longer working for me with -nolisten tcp?
- Authentication-results: sourceware.org; auth=none
- References: <58A77737.5070104@gmail.com>
- Reply-to: codespunk+cygwin at gmail dot 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@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