From owner-freebsd-stable Thu May 30 9:40:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id 10ABC37B401 for ; Thu, 30 May 2002 09:40:33 -0700 (PDT) Received: from v-ger.we.lc.ehu.es (v-ger.we.lc.ehu.es [158.227.6.51]) by polaris.we.lc.ehu.es (8.11.6/8.11.6) with ESMTP id g4UGeU518496; Thu, 30 May 2002 18:40:30 +0200 (MET DST) Received: (from jose@localhost) by v-ger.we.lc.ehu.es (8.11.6/8.11.6) id g4UGeVM02466; Thu, 30 May 2002 18:40:31 +0200 (CEST) (envelope-from jose) Date: Thu, 30 May 2002 18:40:31 +0200 From: "Jose M. Alcaide" To: John Polstra Cc: stable@FreeBSD.ORG Subject: Re: ssh + X11 forwarding = a hung ssh process Message-ID: <20020530184031.C229@v-ger.we.lc.ehu.es> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jdp@polstra.com on Thu, May 30, 2002 at 09:10:08AM -0700 X-Operating-System: FreeBSD 4.5-RELEASE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, May 30, 2002 at 09:10:08AM -0700, John Polstra wrote: > I've been seeing a strange problem involving ssh's X11 forwarding > on FreeBSD-stable systems. Here's the scenario. From my desktop > machine I use ssh to run an X11 application on a different machine. > The application appears on my desktop's screen as expected, and it > works fine. Now I exit the application. But the ssh command does not > exit; it remains hung until I kill it. > > [SNIP] Same here. I found that the problem only manifests itself when using the SSH2 protocol. When connecting from a machine running 4.5-RELEASE to another one running 4.5-RELEASE or 5.0-CURRENT, the ssh command remains hung just as you described. However, if the connection is established from a 5.0-CURRENT system, no message ("waiting for forwarded connections to terminate...") is displayed after closing the ssh session, but the ssh command *does* exit when the X11 client terminates. -- ****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ****** ** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message