xauth data + X connection to localhost:10.0 broken problem

Jon TURNEY jon.turney@dronecode.org.uk
Sun Oct 11 19:44:00 GMT 2009


On 30/09/2009 10:51, Florent Fievez wrote:
 > Hi,
 >
 > It means that ssh does not found xauth binary. To get it working, try
 > adding to your ~/.ssh/config a line like :
 >
 > Host *
 >          XAuthLocation /usr/bin/xauth
 >

For the record, I believe this is a red herring.  There was a brief interval 
when we had a bug which meant that xauth wasn't where ssh expected to find it, 
but that should be resolved long ago.

I think that "Warning: no xauth data; using fake authentication data for X11 
forwarding" is also generated if your Xserver wasn't started with -auth (and 
so has no authentication cookie for ssh to forward), and is nothing to be 
concerned about in that case.

On 01/10/2009 18:02, Mike Ayers wrote:
>  I've tried this several ways with no success so far.  Any help appreciated.

Section 6 in the Cygwin/X FAQ [1] really does cover the most common causes of 
ssh forwarding problems.

For best results, you will want to demonstrate that you have tried all the 
solutions offered there.

The other thing that the FAQ really should mention is using the '-v' argument 
to ssh, which often pinpoints the reason for a connection problem.

 From ssh man-page: "−v Verbose mode.  Causes ssh to print debugging messages 
about its progress.  This is helpful in debugging connection, authentication, 
and configuration problems.  Multiple −v options increase the verbosity.  The 
maximum is 3."

[1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote

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



More information about the Cygwin-xfree mailing list