Re: xauth data + X connection to localhost:10.0 broken problem
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/
Re: xauth data + X connection to localhost:10.0 broken problem
Hi, 2009/9/30 diego menezes domen...@gmail.com: Hi there, First let me thank you guys for your reply. Now, when checking here I don't see any config file in ~/.ssh, what means it was not generated when cygwin was installed I guess. So, how can get in here? Also, I believe the line XAuthLocation /usr/bin/xauth is actually XAuthLocation /usr/bin/xauth.exe sice xauth is an executable. Instead I have a file named xauth_switch_to_sun-des-1. You can create the ~/.ssh/config file by yoursef and just put in the 2 line above. Cheers, Diego. Florent Fievez-2 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 (It works with my cygwin installation, otherwise try locating xauth : which xauth in a cygwin console) Best regards, 2009/9/30 diego menezes domen...@gmail.com Dear all, After installing Cygwin (default installation and then full installation) and trying to connect to my machine at Fermilab I got this message: Starting SSH connection to senna-clued0.fnal.gov... Warning: no xauth data; using fake authentication data for X11 forwarding When I try a simple thing like typing xterm for instance, it tells me X connection to localhost:10.0 broken explicity kill or server shutdown. Does anyone have any idea on what's going on? Cheers all, Diego. -- View this message in context: http://www.nabble.com/xauth-data-%2B-X-connection-to-localhost%3A10.0-broken-problem-tp25675981p25675981.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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/ -- 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/ -- View this message in context: http://www.nabble.com/xauth-data-%2B-X-connection-to-localhost%3A10.0-broken-problem-tp25675981p25684836.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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/ -- 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/
RE: xauth data + X connection to localhost:10.0 broken problem
From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- ow...@cygwin.com] On Behalf Of Florent Fievez Sent: Thursday, October 01, 2009 12:27 AM 2009/9/30 diego menezes domen...@gmail.com: was installed I guess. So, how can get in here? Also, I believe the line XAuthLocation /usr/bin/xauth is actually XAuthLocation /usr/bin/xauth.exe sice xauth is an executable. Instead I have a file named xauth_switch_to_sun-des-1. You can create the ~/.ssh/config file by yoursef and just put in the 2 line above. I think it needs to have 744 permissions or better. So this would be, say: [SNIP] Host target1 Hostname target1.some.dom.ain XAuthLocation /usr/bin/xauth [/SNIP] ...where XAuthLocation points to the local xauth? Do I need to have a matching declaration on the target? I've tried this several ways with no success so far. Any help appreciated. Thanks, Mike
Re: xauth data + X connection to localhost:10.0 broken problem
Hi, diego menezes wrote: Does anyone have any idea on what's going on? I used to get something similar, which I worked around by setting my DISPLAY to: $($WHOAMI|sed -e 's/^.*(\(.*\)).*$/\1/'):0.0 (but this worked only for one hop)... until I read the FAQ again and added to my ~/.ssh/config: ForwardX11Trusted yes (in addition to already there: ForwardX11 yes ) My DISPLAY is now: localhost:14.0 and I can start an xterm, run a new ssh session there to the same host, and check I get a new DISPLAY of localhost:15.0, etc. On an other host I get of course number free from the starting one, e.g. 10.0 So, this did the trick for me... Marc -- View this message in context: http://www.nabble.com/xauth-data-%2B-X-connection-to-localhost%3A10.0-broken-problem-tp25675981p25678247.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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/
Re: xauth data + X connection to localhost:10.0 broken problem
Hi there, First let me thank you guys for your reply. Now, when checking here I don't see any config file in ~/.ssh, what means it was not generated when cygwin was installed I guess. So, how can get in here? Also, I believe the line XAuthLocation /usr/bin/xauth is actually XAuthLocation /usr/bin/xauth.exe sice xauth is an executable. Instead I have a file named xauth_switch_to_sun-des-1. Cheers, Diego. Florent Fievez-2 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 (It works with my cygwin installation, otherwise try locating xauth : which xauth in a cygwin console) Best regards, 2009/9/30 diego menezes domen...@gmail.com Dear all, After installing Cygwin (default installation and then full installation) and trying to connect to my machine at Fermilab I got this message: Starting SSH connection to senna-clued0.fnal.gov... Warning: no xauth data; using fake authentication data for X11 forwarding When I try a simple thing like typing xterm for instance, it tells me X connection to localhost:10.0 broken explicity kill or server shutdown. Does anyone have any idea on what's going on? Cheers all, Diego. -- View this message in context: http://www.nabble.com/xauth-data-%2B-X-connection-to-localhost%3A10.0-broken-problem-tp25675981p25675981.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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/ -- 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/ -- View this message in context: http://www.nabble.com/xauth-data-%2B-X-connection-to-localhost%3A10.0-broken-problem-tp25675981p25684836.html Sent from the cygwin-xfree mailing list archive at Nabble.com. -- 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/
RE: Warning: No xauth data
Thanks for the hints on this, I've managed to get it working without the warning message. Here's what I did: bash$ xauth xauth add :0 . hexnumber # I used FACEFEEDFACEFEED xauth add localhost:0 . hexnumber xauth exit my .ssh/config has: ForwardX11Trusted yes XAuthLocation /usr/bin/xauth Next, I have a little macro in .bashrc: startapp() { (ssh -Xn $* ) ; } declare -fx startapp Then, to start a remote application (xterm in this case) I do: bash$ startapp othernode xterm I haven't done exhaustive testing, but seems to do the trick. By the way, the new Cygwin/X bits are GREAT! Thank you for the great update!!! Benn -- 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/
Warning: No xauth data
Started getting this warning on ssh sessions that forward X11 after upgrading to the new X11 package yesterday. I forward X11 on all ssh connections via a line in ~/.ssh/ssh_config. I don't really understand X11 security (and never needed to up until now). Can someone please tell me how to fix this warning or point me to a resource that explains what it is and how to fix it? Google returned about 50 million hits and all I've found so far is messages from other people either asking the same question, or saying to just ingore it. I'm not the type who likes to just ignore a warning if it can be fixed properly. Thanks. -- 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/
Re: Warning: No xauth data - ssh looking for xauth in wrong location?
Chuck wrote: Started getting this warning on ssh sessions that forward X11 after upgrading to the new X11 package yesterday. I forward X11 on all ssh connections via a line in ~/.ssh/ssh_config. I don't really understand X11 security (and never needed to up until now). Can someone please tell me how to fix this warning or point me to a resource that explains what it is and how to fix it? Google returned about 50 million hits and all I've found so far is messages from other people either asking the same question, or saying to just ingore it. I'm not the type who likes to just ignore a warning if it can be fixed properly. Found this setting in the man page for ssh_config: XAuthLocation. It defaults to /usr/X11R6/bin/xauth which is the *OLD* location for the xauth program. I installed the new xauth program which gets placed in /usr/bin, and added the following line to my ~/.ssh/config file... XAuthLocation /usr/bin/xauth Now when I connect to a remote host with X11 forwarding on I get this warning... Warning: untrusted X11 forwarding setup failed: xauth key data not generated Would appreciate any help in getting rid of these annoying warnings. Thanks. -- 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/
Re: Warning: No xauth data
Chuck wrote: Started getting this warning on ssh sessions that forward X11 after upgrading to the new X11 package yesterday. I forward X11 on all ssh connections via a line in ~/.ssh/ssh_config. Hmmm it seems that ssh needs to run xauth to do connection forwarding, but is still trying to use /usr/X11R6/bin/xauth, rather than /usr/bin/xauth (and prints a slightly misleading message in this case) In which case, until that is corrected somehow, you might add the following line to your ~/.ssh/config and see if that improves matters XAuthLocation=/usr/bin/Xauth I don't really understand X11 security (and never needed to up until now). Can someone please tell me how to fix this warning or point me to a resource that explains what it is and how to fix it? Google returned about 50 million hits and all I've found so far is messages from other people either asking the same question, or saying to just igore it. I'm not the type who likes to just ignore a warning if it can be fixed properly. -- 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/
Re: Warning: No xauth data
Jon TURNEY wrote: Chuck wrote: Started getting this warning on ssh sessions that forward X11 after upgrading to the new X11 package yesterday. I forward X11 on all ssh connections via a line in ~/.ssh/ssh_config. Hmmm it seems that ssh needs to run xauth to do connection forwarding, but is still trying to use /usr/X11R6/bin/xauth, rather than /usr/bin/xauth (and prints a slightly misleading message in this case) In which case, until that is corrected somehow, you might add the following line to your ~/.ssh/config and see if that improves matters XAuthLocation=/usr/bin/Xauth Already tried that. It introduces yet another warning: Warning: untrusted X11 forwarding setup failed: xauth key data not generated -- 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/
Re: Warning: No xauth data
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jon TURNEY wrote: Hmmm it seems that ssh needs to run xauth to do connection forwarding, but is still trying to use /usr/X11R6/bin/xauth, rather than /usr/bin/xauth (and prints a slightly misleading message in this case) In which case, until that is corrected somehow, you might add the following line to your ~/.ssh/config and see if that improves matters XAuthLocation=/usr/bin/Xauth That should be /usr/bin/xauth with a small x. Only the servers start with a capital X. Yaakov Cygwin/X -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkkd8/QACgkQpiWmPGlmQSMM3wCdFn/+im1QRxXp8WSjGG/vHgnK rTgAoJuygbLP7rulrrS9kibelx37reXC =aTkW -END PGP SIGNATURE- -- 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/
Re: Warning: No xauth data; using fake authentication data for x11 forwarding
On Tue, 26 Oct 2004, Jim Drash wrote: use ssh -X instead NO! ssh -X uses an UNTRUSTED X11 connection while ssh -Y uses a trusted connection. If you're not sure about what you say then don't mess with the users. This was one of most frequently asked questions a few months ago and I don't want to start answering the same question every day. ssh -Y is fine for all daily usage. If you know what you're dooing then use -X. But don't bother the mailinglist with strange errors which did not occur before. When I connect from cygwin to a remote host using 'ssh -Y', I get the warning: Warning: No xauth data; using fake authentication data for x11 forwarding How can I fix this? Live with it. It's just a warning. If it really bothers you then setup xauth. man Xsecurity will give you a quite detailed introduction to the whole X11 authentication schemes. But this is a quite complex task. There have been some threads on the mailing list about this topic (search for md5sum and xauth). bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Warning: No xauth data; using fake authentication data for x11 forwarding
When I connect from cygwin to a remote host using 'ssh -Y', I get the warning: Warning: No xauth data; using fake authentication data for x11 forwarding How can I fix this? Thanks! kj
Re: Warning: No xauth data; using fake authentication data for x11 forwarding
use ssh -X instead On Tue, 26 Oct 2004 14:36:36 -0400 (EDT), [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: When I connect from cygwin to a remote host using 'ssh -Y', I get the warning: Warning: No xauth data; using fake authentication data for x11 forwarding How can I fix this? Thanks! kj
No xauth data.
I have a tiny problem with ssh. I run: ssh -X -T -f twin /usr/X11R6/bin/xterm -sb -sl 1000 -rightbar -ls and get the line: Warning: No xauth data; using fake authentication data for X11 forwarding. Clearly I'm missing something. But if I run the same thing from a Linux machine which share the same home directory (mounted via samba), I get no warning. Could anyone please tell me what I'm doing wrong? Thanks, Cliff. -- Cliff Stanford Might Limited +44 20 7257 2000 (Office) 17-18 Henrietta Street +44 7973 616 666 (Mobile) London WC2E 8QH
Re: No xauth data.
Cliff, I can tell you that the warning is like ssh telling you that the sky is blue: it is telling you that a certain feature is not supported by your ssh client. This can be ignored, but search the mailing list archives if you want more information about what the message means. Harold Cliff Stanford wrote: I have a tiny problem with ssh. I run: ssh -X -T -f twin /usr/X11R6/bin/xterm -sb -sl 1000 -rightbar -ls and get the line: Warning: No xauth data; using fake authentication data for X11 forwarding. Clearly I'm missing something. But if I run the same thing from a Linux machine which share the same home directory (mounted via samba), I get no warning. Could anyone please tell me what I'm doing wrong? Thanks, Cliff.
Re: No xauth data.
If you want the error message to go away, play with the xauth command on your Windows box. # xauth -v list This will tell you your local Xauthority file and what it contains. If it's not there, or if it's empty, try to play with xauth generate to get it to contain something like localhost:0 MIT-MAGIC-COOKIE-1 [long number in hex] [cygwin_pc]/unix:0 MIT-MAGIC-COOKIE-1 [another long number in hex] I'd tell you the exact command to use for xauth generate, but I forget. Perhaps somebody could post the correct answer and then add this to the FAQ. Good luck, JT