public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: David Lee Lambert <davidl@lmert.com>
Subject: Re: new start method (again?)
Date: Thu, 24 Nov 2016 15:15:00 -0000	[thread overview]
Message-ID: <4dcca5b1-2825-6a6f-a7c1-1c06be5012ed@dronecode.org.uk> (raw)
In-Reply-To: <E1c9vI8-00015p-L2@scatha>

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/


      reply	other threads:[~2016-11-24 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-24 14:46 David Lee Lambert
2016-11-24 15:15 ` Jon Turney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4dcca5b1-2825-6a6f-a7c1-1c06be5012ed@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=davidl@lmert.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).