public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* new start method (again?)
@ 2016-11-24 14:46 David Lee Lambert
  2016-11-24 15:15 ` Jon Turney
  0 siblings, 1 reply; 2+ messages in thread
From: David Lee Lambert @ 2016-11-24 14:46 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: davidleelambert

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

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.

Advice?

--
DLL

--
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/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: new start method (again?)
  2016-11-24 14:46 new start method (again?) David Lee Lambert
@ 2016-11-24 15:15 ` Jon Turney
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Turney @ 2016-11-24 15:15 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: David Lee Lambert

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/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-24 15:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-24 14:46 new start method (again?) David Lee Lambert
2016-11-24 15:15 ` Jon Turney

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).