From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10245 invoked by alias); 22 Sep 2015 16:04:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 10235 invoked by uid 89); 22 Sep 2015 16:04:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FREEMAIL_REPLYTO,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-yk0-f170.google.com Received: from mail-yk0-f170.google.com (HELO mail-yk0-f170.google.com) (209.85.160.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 22 Sep 2015 16:04:56 +0000 Received: by ykdg206 with SMTP id g206so13965429ykd.1 for ; Tue, 22 Sep 2015 09:04:54 -0700 (PDT) X-Received: by 10.13.213.17 with SMTP id x17mr20972612ywd.164.1442937894455; Tue, 22 Sep 2015 09:04:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.50.142 with HTTP; Tue, 22 Sep 2015 09:04:25 -0700 (PDT) Reply-To: chrislouden@gmail.com In-Reply-To: <56017838.1050408@dronecode.org.uk> References: <56017838.1050408@dronecode.org.uk> From: Chris Louden Date: Tue, 22 Sep 2015 16:04:00 -0000 Message-ID: Subject: Re: xauth issue (remote X w/putty via Cygwin/XWin) To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00358.txt.bz2 I did attempt to use the Cygwin version of Putty but encountered several errors. I ended adding a post-install script that makes the following changes in /bin/startxwin and /bin/startx defaultserverargs="-multiwindow -listen tcp"' enable_xauth=0 This seems to allow functionality with our external (to Cygwin) version of Putty however I am still testing. -Chris On Tue, Sep 22, 2015 at 9:48 AM, Jon TURNEY wrote: > On 15/09/2015 16:56, Chris Louden wrote: >> >> Following up on this post: >> >> https://cygwin.com/ml/cygwin-xfree/2015-02/msg00075.html >> >> Is there any news regarding the getting "listen tcp" issue with xauth >> resolved. The workaround mentioned works but isn't ideal in the >> environment I have. > > > No progress, but a couple more suggestions: > > cygwin now has an X11 PuTTY client package. I haven't tested that, but I > guess that should be able to find the X display and authority file without > any special configuration. > > Alternatively, you could patch xinit to use a deterministic name for the > authority file e.g. ~/.serverauth.hostname.display rather than > ~/.serverauth.pid. > > (If you write such a patch, please submit it, as that would probably be > acceptable in our package and maybe upstream. Using just the pid seems > wrong, as there potentially could be collisions in a shared home directory) > > -- > Jon TURNEY > Volunteer Cygwin/X X Server maintainer -- 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