X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0	tests=AWL,BAYES_50,SARE_SUB_MINUTES,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject: Re: Can't talk to X server through ssh tunnel after ~ 18 minutes
Date: Thu, 26 May 2011 22:05:36 -0700
Lines: 35
Message-ID: <irnbf0$nao$2@dough.gmane.org>
References: <irjf3g$93a$1@dough.gmane.org> <4DDD4402.5010301@tundraware.com> <irk4eh$c8l$1@dough.gmane.org> <4DDE743B.9060504@dronecode.org.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10
In-Reply-To: <4DDE743B.9060504@dronecode.org.uk>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com



On 05/26/11 08:39, Jon TURNEY wrote:
> 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'
Ah yes. That seems to have done it. Thanks. Interestingly Cygwin has 
this ForwardX11Timeout in man ssh_config but the Linux system doesn't!

Now I need to characterize my problem with the samba serviced shared 
home directory that keeps me from sharing my ~/.ssh/config...
-- 
Andrew DeFaria <http://defaria.com>
How come abbreviated is such a long word?


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

