From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17780 invoked by alias); 26 May 2011 15:38:24 -0000 Received: (qmail 17703 invoked by uid 22791); 26 May 2011 15:38:22 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SARE_SUB_MINUTES 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, 26 May 2011 15:38:07 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.0.8]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 26 May 2011 16:38:03 +0100 Message-ID: <4DDE743B.9060504@dronecode.org.uk> Date: Thu, 26 May 2011 15:38:00 -0000 From: Jon TURNEY Reply-To: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: cygwin@cygwin.com CC: Andrew.DeFaria@tellabs.com Subject: Re: Can't talk to X server through ssh tunnel after ~ 18 minutes References: <4DDD4402.5010301@tundraware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00394.txt.bz2 On 26/05/2011 00:47, Andrew DeFaria wrote: > On 5/25/2011 11:01 AM, Tim Daneliuk wrote: >> On 5/25/2011 12:43 PM, Andrew DeFaria said this: >>> I ssh from my Cygwin box to a Linux machine (happens with Solaris machines >>> too) and I can run X applications back to Cygwin/X without a problem. >>> However, after a few minutes something happens to the tunnel and I can no >>> longer put up any X windows: >> What arguments are you using to start the ssh session? > The only argument is -X. Like I said, I was able to put up X windows through > the ssh tunnel. Then, after some, it stops working - consistently. I'd guess this is something to do with an untrusted xauth cookie with a 20 minute timeout being generated, although exactly how that can happen if you are using an X server without the SECURITY extension (as Cygwin/X servers have been built for the past couple of years), I don't quite understand. See 'ForwardX11Timeout' in 'man ssh_config' Use 'ssh -Y' -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple