From owner-freebsd-questions@FreeBSD.ORG Tue Jun 14 14:14:58 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A7DF16A41C for ; Tue, 14 Jun 2005 14:14:58 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail22.sea5.speakeasy.net (mail22.sea5.speakeasy.net [69.17.117.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F34343D5E for ; Tue, 14 Jun 2005 14:14:57 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 16201 invoked from network); 14 Jun 2005 14:14:57 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail22.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Jun 2005 14:14:57 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 60E4F2C; Tue, 14 Jun 2005 10:14:56 -0400 (EDT) Sender: lowell@be-well.ilk.org To: hartzell@alerce.com References: <17070.20363.683173.186043@satchel.alerce.com> From: Lowell Gilbert Date: 14 Jun 2005 10:14:56 -0400 In-Reply-To: <17070.20363.683173.186043@satchel.alerce.com> Message-ID: <44zmttxbxb.fsf@be-well.ilk.org> Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Can't make X tunnelling via SSH work, probably loosing my mind.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2005 14:14:58 -0000 George Hartzell writes: > I just noticed that I couldn't ssh -X from a machine into a fully > configured jail on the same machine and have an X app display back on > the desktop. > > I think that this used to work, but I can't swear to it. > > I've been playing around, and now have pretty much everything on the > machine stripped down. No jails, no ipfw, no interface aliases. > > It's running 5.4-STABLE as of a few days ago, and everything is > compiled from ports and should be up to date. The video cards a > matrox 550 and I'm running with mga_drv.o and mga_hal_drv.o from the > mgadriver-4.1 tarball from the matrox site. It's dual headed w/ a > pair of NEC Multisync LCD1850X's on a dual-headed DVI cable. > > It turns out that I can't ssh -X from that machine into any other > machine and have it work. I can, however, ssh -X from another machine > (e.g. 5.3BETA4 laptop) into it and display onto the laptop. > > In particular, it can't even ssh -X into itself and display an X app. > > There's some information at > > http://grapeape.alerce.com/screwball > > including netstat and /etc/rc.conf and an ssh -v -v -X session. > > If I ssh -X into itself and run xeyes, it just sits there. If I do a > tcpdump -i lo0 from another window, there's a flood of traffic back > and forth between the .ssh port and a variety of ports including > .x11-ssh, one at 6011 [I think that the DISPLAY as localhost:11 that > time around], and a bunch of other randomish. > > I've tried it with X11UseLocalhost on and off. > > At this point my eyes are crossed and I can't even figure out what to > try next. And, I'm not feeling particularl bright, I'm sure it's > going to turn out to be something obvious.... > > Anyone have any thoughts? You're going to have problems with ssh authentication there, I would think. Have you tried the -Y option to ssh?