From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18828 invoked by alias); 1 Sep 2010 19:33:29 -0000 Received: (qmail 18752 invoked by uid 22791); 1 Sep 2010 19:33:28 -0000 X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.appstate.edu (HELO mta7.appstate.edu) (152.10.1.18) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 01 Sep 2010 19:33:23 +0000 Received: from [152.10.148.239] (ip-152010148239.geo.appstate.edu [152.10.148.239]) by mta7.appstate.edu (8.13.1/8.13.1) with ESMTP id o81JTCU4023956 for ; Wed, 1 Sep 2010 15:29:12 -0400 Message-ID: <4C7EA987.9090006@appstate.edu> Date: Wed, 01 Sep 2010 19:33:00 -0000 From: "Scott T. Marshall" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: No xauth program Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-Information: Please contact the Helpdesk @ 6266 for more information X-Appstate-MailScanner-ID: o81JTCU4023956 X-MailScanner-ASU-mta: Found to be clean X-MailScanner-SpamCheck: X-IsSubscribed: yes Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2010-09/txt/msg00004.txt.bz2 Hi All, I am struggling to get my ssh server to forward x windows. I have followed the cygwin documentation several times and cannot get my windows 7 (x64) machine to forward any x windows over ssh. This is particularly frustrating because I set this all up with no problem on my laptop which is also running windows 7 (x64). Here is my short description and info. Please let me know if I need to provide any extra info. I've done extensive web searches and searched the cygwin FAQ's and mailing lists, but can't seem to find a similar problem. I have added "ForwardX11 yes" to /etc/ssh_config I have added "X11Forwarding yes" to /etc/sshd_config I have the XWin server running and am using xterm with the following command (on one line of course) C:\cygwin\bin\run.exe -p /usr/X11R6/bin xterm -display 127.0.0.1:0.0 -ls -g 115x35 +tb -fn 8x16 -sl 1000 -sb -rightbar -ms red -fg yellow -bg black So, my xterm pops up just like normal and I can successfully ssh to localhost, but when I try to open something graphical (e.g xeyes or nedit) I get Error: Cannot open display when I connect using ssh -Yv localhost the last few lines of output are: debug1: Entering interactive session. debug1: No xauth program. Warning: No xauth data; using fake authentication data for X11 forwarding. debug1: Requesting X11 forwarding with authentication spoofing. debug1: Remote: No xauth program; cannot forward with spoofing. Last login: Wed Sep 1 15:03:40 2010 from ::1 I don't understand the No xauth program part. I have xauth in /bin which xauth returns /usr/bin/xauth and when I check the permissions on xauth, I see that they are 755 and I am the owner. I even tried the suggestion that someone made on the listserv to add a line to ~/.ssh/config XauthLocation=/usr/bin/xauth and that didn't work, so I tried XauthLocation=/bin/xauth and that didn't work either. Does anyone have any ideas what is going on here? Any help would be very much appreciated. Cheers, -Scott -- 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/