From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12330 invoked by alias); 21 Mar 2011 21:43:20 -0000 Received: (qmail 12193 invoked by uid 22791); 21 Mar 2011 21:43:18 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_YG 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; Mon, 21 Mar 2011 21:42:26 +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; 21 Mar 2011 21:42:23 +0000 Message-ID: <4D87C64D.9000009@dronecode.org.uk> Date: Mon, 21 Mar 2011 21:43: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.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com, phlip2005@gmail.com Subject: Re: ssh -X user@host konsole opens a tunneled konsole, but then the tunnel lapses References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 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: 2011-03/txt/msg00020.txt.bz2 On 04/03/2011 18:29, Phlip wrote: > For years I have enjoyed one desktop with everything I need on it. > > Then ssh -X stopped working. Sometimes, if I start a remote konsole, You don't mention if things 'stopped working' spontaneously, or if anything was changed on either your ssh client or ssh server machine. > and immediately start some new X window app, it runs thru the tunnel. > > But now it trivially bombs, as if there were no remote X to attach to: > > kate: cannot connect to X server localhost:10.0 > > Is there a timeout setting, somewhere, for the X tunnel? or some > similar setting to look at? There is the ForwardX11Timeout setting (see 'man ssh_config'), but that can't be the explanation for what you are seeing, as that doesn't apply with 'ssh -Y' > The host is any Win32 or Win64, and the client is Ubuntu... If you are saying that it doesn't work from any cygwin machine, connecting to one particular ubuntu server, that should be a pointer that something has changed on the ubuntu server. > I also tried manually setting the DISPLAY environmental variable... If you are setting DISPLAY to point directly at your Cygwin/X server, you will need to permit access from the remote host, as described in the 'insecure telnet' section of [1]. Protip: don't do this, it's insecure :-) On 19/03/2011 15:31, Phlip wrote: >>> kate: cannot connect to X server localhost:10.0 > >> Have you tried ssh -Y instead of -X ? > > Nope; just tried it, and it didn't work, with the same symptom. You might find adding '-v' to your ssh command for extra verbosity sheds some light on what's going on. > The source is always a CygWin xterm with a little bash inside. > > Got a log file I can look at? I think you have that backwards. > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html ^^^^ See this URL. You didn't attach cygcheck output, so no one knows what version of anything you are running, so all this advice is purely speculative. > Documentation: http://x.cygwin.com/docs/ > FAQ: http://x.cygwin.com/docs/faq/ [1] http://x.cygwin.com/docs/ug/using-remote-apps.html -- 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/