From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29562 invoked by alias); 12 Dec 2014 22:03:28 -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 29549 invoked by uid 89); 12 Dec 2014 22:03:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yh0-f68.google.com Received: from mail-yh0-f68.google.com (HELO mail-yh0-f68.google.com) (209.85.213.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 12 Dec 2014 22:03:25 +0000 Received: by mail-yh0-f68.google.com with SMTP id z6so881769yhz.7 for ; Fri, 12 Dec 2014 14:03:23 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.236.14.97 with SMTP id c61mr13669694yhc.132.1418421803025; Fri, 12 Dec 2014 14:03:23 -0800 (PST) Received: by 10.170.43.81 with HTTP; Fri, 12 Dec 2014 14:03:22 -0800 (PST) In-Reply-To: <5489ED06.5040606@dronecode.org.uk> References: <1716391920.60507.1418322712630.JavaMail.yahoo@jws10765.mail.gq1.yahoo.com> <5489ED06.5040606@dronecode.org.uk> Date: Fri, 12 Dec 2014 22:03:00 -0000 Message-ID: Subject: Re: remote xterm's can't open display after upgrade From: "J. Offerman" To: cygwin-xfree Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00027.txt.bz2 Instead of bothering with the nolisten option and running $ ssh centos6 Just do this: $ ssh -Y centos6 without touching the xserver option. That's what Jon meant. I also stumbled upon this awhile back and pulled my hair(from whereever I still got them). On Thu, Dec 11, 2014 at 11:14 AM, Jon TURNEY wrote: > On 11/12/2014 18:31, Don Webster wrote: >> >> I needed to upgrade gs to gs 9.15, so I ran setup yesterday. It >> wanted to update a whole bunch of stuff, including X. OK, fine, I >> hadn't updated cygwin in quite a while, and I had other stuff to do. >> >> After the upgrade, I can't display remote xterms. OK, my old X >> shortcut didn't work, but I found "XWin Server" and pinned it to my >> task bar. I launch that and I have the X server running, and a local >> xterm pops up. I ssh into my linux server, and run my xterm, and get >> "can't open display". I did these steps. >> >> - turned off my Windows Firewall (I am on a safe, local network). - >> launched XWin Server. >> >> In the xterm that popped up: >> dcw@dcwdt02 ~ >> $ xhost + >> access control disabled, clients can connect from any host >> >> dcw@dcwdt02 ~ >> $ ssh centos6 >> Last login: Wed Dec 10 16:31:16 2014 from dcwdt02 >> centos6% setenv DISPLAY 10.11.22.33:0.0 # I use tcsh >> centos6% xterm >> xterm Xt error: Can't open display: 10.11.22.33:0.0 >> centos6% >> >> Is there something obvious? > > > https://cygwin.com/ml/cygwin-xfree/2014-11/msg00029.html > > The relevant part is "startx and startxwin now pass '-nolisten tcp' to the > server by default, which increases security in the X server by not opening a > port to TCP connections. The '-listen' flag can be passed as a server > argument to override this." > > Your choices are to add the '-listen' flag to the startxwin invocation, or > (better) to use 'ssh -Y' and not explicitly set DISPLAY (See > http://x.cygwin.com/docs/ug/using-remote-apps.html#using-remote-apps-ssh) > > -- > Jon TURNEY > Volunteer Cygwin/X X Server maintainer > > -- > 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/ > -- 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/