From owner-freebsd-questions@FreeBSD.ORG Thu Apr 26 20:02:53 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 467AD16A404 for ; Thu, 26 Apr 2007 20:02:53 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.freebsd.org (Postfix) with ESMTP id 2435213C4C3 for ; Thu, 26 Apr 2007 20:02:53 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 14668 invoked from network); 26 Apr 2007 20:02:52 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 26 Apr 2007 20:02:52 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id E3A732842E; Thu, 26 Apr 2007 16:02:51 -0400 (EDT) To: WarrenHead References: <462FAD5A.4090400@gmail.com> From: Lowell Gilbert Date: Thu, 26 Apr 2007 16:02:51 -0400 In-Reply-To: <462FAD5A.4090400@gmail.com> (warrenhead@gmail.com's message of "Wed\, 25 Apr 2007 21\:34\:50 +0200") Message-ID: <441wi6lx90.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: remote x forwarding through ssh 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: Thu, 26 Apr 2007 20:02:53 -0000 WarrenHead writes: > Hi list, > > I'm trying to use ssh to forward X from a local FreeBSD server to my > ubuntu machine. > I'm unable to get X forwarded. (ssh is working) > > I set these options: > ubuntu: > /etc/ssh/ssh_config > Host * > ForwardX11 yes > ForwardAgent yes > > FreeBSD > /etc/ssh/sshd_config > X11Forwarding yes > X11DisplayOffset 10 > X11UseLocalhost yes > UseLogin no > > I didn't set the $DISPLAY variable, on purpose. > > After I log into the server and start xterm (for instance) I get this > message: DISPLAY is not set. > SSH should do that for me but I guess it doesn't. > I don't know why. > > I logged into FreeBSD with these commands: > ssh -v freebsd > ssh -v -X freebsd > ssh -v -X -A freebsd Did the (verbose) output from those commands mention X11? > What could be the cause? Client or server? My guess would be server, although Ubuntu could always be doing something weird.