This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ISO: steps to start Windows PuTTY while using Cygwin/X x authentication


Platform is Windows 7 64 bit, using cygwin/x 1.11.1-1 and started with:

/usr/bin/X :0 -multiwindow -clipboard -silent-dup-error -auth
/home/user/.Xauthority -auth /home/user/.serverauth.780

Once this starts up, the user is able to start mintty, xterm, etc, can
start ssh -Y otherserver and have x applications there display back,
etc.

However, we have not yet figured out how to set up PuTTY 0.60 (32 bit
version) so that it works .

I have tried setting Connection > SSH > X11 to enable X11 forwarding
and MIT-Magic-Cookie-1.
I start a window and it opens.
I get this error message:
Xlib: connection to "localhost:12.0" refused by server
Xlib: No protocol specified

/usr/openwin/bin/xset:  unable to open display "localhost:12.0"

No x apps start there.

Since PuTTY is started from a start menu normally, it's my guesstimate
that the putty session doesn't have the x authentication cookie.

However, there doesn't seem to me to be a simple way to set that up.
Trying to get an xauth cookie and import it into a different window is
non-trivial, even for an expert.

Surely there is some way to configure things so that this combination
works. I've been performing web searches looking for information, so
far to no avail.

Has anyone a reference, white paper, sample code, etc. to demonstrate
how to set this up?

Thank you very much.

--
Tcl - The glue of a new generation.?? http://wiki.tcl.tk/
Larry W. Virden
http://www.facebook.com/lvirden/
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]