This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Looking for a way to start XWin -auth option without modifying startxwin.bat
- From: "Grant Mills" <gmills at ucsd dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 7 Mar 2007 14:31:07 -0800
- Subject: Looking for a way to start XWin -auth option without modifying startxwin.bat
- Reply-to: cygwin-xfree at cygwin dot com
Background:
Switched from Exceed yesterday. Quickly realized that remote hosts
couldn't contact local x server. xhost <remote_mach> solved that
problem. Learned that if I shutdown the X server and restarted, xhost
settings didn't persist.
Spent half a day researching and experimenting xauth. My remote host
was failing with the MIT-MAGIC-COOKIE-1 error message. Eventually, I
added "-auth ~/.Xauthority" to the command line that starts XWin.exe
in startxwin.bat. That did the trick.
Question:
My question is this... Is there a way to add "-auth ~/.Xauthority"
option to the startup of XWin.exe without modifying any of the
provided files? Something like the ~/.cvsrc file. I'd like to make
sure that the next time X-startup-scripts gets updated, I won't have
to remember what I modified and go back and do it again.
I tried using ~/.xserverrc but I'd prefer to be able to use
startxwin.bat in my startup folder.
I could submit a patch that would check for .Xauthority's existence
and add the option when detected. If this is a suitable option, let
me know and I'll submit it.
Thanks in advance.
--
Grant Mills
gmills@ucsd.edu
--
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/