This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Addition to FAQ 6.1 - X11 forwarding and xauth
- From: "Wheeler, Frederick W (GE, Research)" <wheeler at crd dot ge dot com>
- To: <cygwin-xfree at cygwin dot com>
- Date: Thu, 12 Feb 2009 16:32:07 -0500
- Subject: Addition to FAQ 6.1 - X11 forwarding and xauth
- Reply-to: cygwin-xfree at cygwin dot com
I have an additional answer to Cygwin/X FAQ 6.1, "X11Forwarding does not
work with OpenSSH under Cygwin"
--- begin ------------
A6:
If the *remote* machine is a Windows machine using Cygwin OpenSSH,
make sure the Cygwin xauth package is installed on the *remote*
machine. The OpenSSH server needs xauth to do X11 Forwarding.
--- end ------------
For a while I was confounded by this:
% export DISPLAY=:0
% ssh -Y -f remote-windows-host printenv DISPLAY
Warning: No xauth data; using fake authentication data for X11
forwarding.
*** DISPLAY not printed here !!! ***
% ssh -Y -f remote-unix-host printenv DISPLAY
Warning: No xauth data; using fake authentication data for X11
forwarding.
localhost:21.0 *** DISPLAY printed as expected ***
I finally noticed a message about xauth in the output of
ssh -vvv -Y -f remote-windows-host printenv DISPLAY
This was hard enough to diagnose that I think it deserves the FAQ
entry above.
Fred
--
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/