From owner-freebsd-questions@FreeBSD.ORG Fri Apr 27 09:34:36 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 C3BDB16A400 for ; Fri, 27 Apr 2007 09:34:36 +0000 (UTC) (envelope-from warrenhead@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 7D21713C45D for ; Fri, 27 Apr 2007 09:34:36 +0000 (UTC) (envelope-from warrenhead@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so563682ana for ; Fri, 27 Apr 2007 02:34:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=nWOgZAQ7tp7u0hKZ5jFVOjPjARxRrBpsPEA9fX8lDcFQYFX8W9HjOQ7IKwQ6vuIUdY3//q8rZSn6rNFmnMOZgML5tzTXDxArgN4kH4hgt5UamuQFRZA1pylhlueP8y475SIMtLakysYfvr0TO0t1KUZn/+BNCnVyYLQ3sVRcv/I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=dRwakCWXj1RLIkNpMWMIY3YFBtcvG0s6ycEVFeuDgHrblvU0q3McjEwHjQjZQguq0fOXr9E/qUeCvuu8N45HykiUY1KKxZ88Co/h55M+N02C3rpe2x0pA62lEPNTIVWkOgvcKsTPtcAzosJ4Fm442KTwT89WfiGKuCSJUzj6GmA= Received: by 10.100.111.16 with SMTP id j16mr1863660anc.1177666475570; Fri, 27 Apr 2007 02:34:35 -0700 (PDT) Received: by 10.100.174.3 with HTTP; Fri, 27 Apr 2007 02:34:35 -0700 (PDT) Message-ID: <51e113440704270234p640c01a1k57b502537bea4354@mail.gmail.com> Date: Fri, 27 Apr 2007 11:34:35 +0200 From: "Warren Head" To: freebsd-questions@freebsd.org In-Reply-To: <441wi6lx90.fsf@be-well.ilk.org> MIME-Version: 1.0 References: <462FAD5A.4090400@gmail.com> <441wi6lx90.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: remote x forwarding through ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2007 09:34:36 -0000 2007/4/26, Lowell Gilbert : > > 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. > Hi list, I managed to get a few different machines under my hands and it seems it is my Ubuntu machine which refuses to 'find' the $DISPLAY variable. Of course I don't have a clue as to why, but I'm going to take that to the ubuntu lists Thanks for your time! Cheers, Warren