From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2787 invoked by alias); 2 Sep 2010 22:48:41 -0000 Received: (qmail 2774 invoked by uid 22791); 2 Sep 2010 22:48:39 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Sep 2010 22:48:33 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.0.5]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 02 Sep 2010 23:48:30 +0100 Message-ID: <4C8029BD.7010204@dronecode.org.uk> Date: Thu, 02 Sep 2010 22:48:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree@cygwin.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: marshallst@appstate.edu Subject: Re: No xauth program References: <4C7EA987.9090006@appstate.edu> <4C7FBEAD.3020208@dronecode.org.uk> <4C7FE53C.1070606@appstate.edu> In-Reply-To: <4C7FE53C.1070606@appstate.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00007.txt.bz2 > On 9/2/2010 11:11 AM, Jon TURNEY wrote: >> On 01/09/2010 20:29, Scott T. Marshall wrote: >>> 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. >> >> You might like to try if xauth can actually run successfully? >> On 02/09/2010 18:56, Scott T. Marshall wrote: > Thanks for the suggestion Jon. I don't know exactly what I should ask xauth to > do or what syntax is requires (the man page was not completely clear to me), > but what I can say is that if I try to execute xauth in an xterm, it gives no > errors. > I can also say that when I ssh to other linux machines, I can open X > applications, but my cygwin/windows 7 x64 box will not forward x windows when > someone log onto it. Hmm... it looks like the latest openssh package has the wrong default path to xauth for some reason. As a workaround, you might try adding XAuthLocation=/usr/bin/xauth to /etc/sshd_config and restarting sshd. -- 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/