From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 42190 invoked by alias); 24 Nov 2016 15:15:48 -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 42182 invoked by uid 89); 24 Nov 2016 15:15:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=cygwinxfree, cygwin-xfree, authority, lambert X-HELO: out5-smtp.messagingengine.com Received: from out5-smtp.messagingengine.com (HELO out5-smtp.messagingengine.com) (66.111.4.29) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 24 Nov 2016 15:15:37 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 570BB20703; Thu, 24 Nov 2016 10:15:36 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Thu, 24 Nov 2016 10:15:36 -0500 X-ME-Sender: Received: from [192.168.1.102] (host86-141-129-132.range86-141.btcentralplus.com [86.141.129.132]) by mail.messagingengine.com (Postfix) with ESMTPA id E0BB824439; Thu, 24 Nov 2016 10:15:35 -0500 (EST) Subject: Re: new start method (again?) To: cygwin-xfree@cygwin.com References: From: Jon Turney Cc: David Lee Lambert Message-ID: <4dcca5b1-2825-6a6f-a7c1-1c06be5012ed@dronecode.org.uk> Date: Thu, 24 Nov 2016 15:15:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-11/txt/msg00001.txt.bz2 On 24/11/2016 14:46, David Lee Lambert wrote: > So I have several Win7 or Win10 PCs with a small set of users who use them, > I had modified the "XWin Server" shortcut by making it a per-user start > menu item that would start each user's server at a different display number. > Since some recent update, those shortcuts no longer work. Here's the error > message... > > A fatal error has occurred and Cygwin/X will now exit. > > Unrecognized option: /home/**user**/.serverauth.17056 > > Please open the logfile for more information. > > Vendor: The Cygwin/X Project > Release: 1.18.4.0 > Contact: cygwin@cygwin.com > Package: varsion 1.18.4-1 built 2016-07-22 > > XWin was started with the following command-line: > > /usr/bin/XWin :3 -multiwindow -listen -auth /home/**user**/.serverauth.17056 Since xinit-1.3.4-5/xserver-1.17.0-1 the -listen option is implemented in Xwin, not in startx, and now takes a protocol name. So I think you need to change '-listen' to '-listen tcp' in your shortcut. > Screenshot at http://bit.ly/2gEeJkZ . > > Also, when I do start X, Win32 PuTTY doesn't seem to be able to forward > remote programs to it any more. PuTTY does have an option to point to > a ".Xauthority" file, but that doesn't seem to help. > > I sw some threads a few months ago that sounded similar, but reading through > them so far I don't see a concise solution. I guess [1],[2] are the threads you refer to. I'm afraid there is no simple solution, currently. I guess what's needed is a patch to startx(|win) to use a deterministic .serverauth filename, or to add an option to disable the use of an authority file with the -auth option. [1] https://cygwin.com/ml/cygwin-xfree/2015-02/msg00075.html [2] https://cygwin.com/ml/cygwin/2015-09/msg00358.html -- 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/