From owner-freebsd-questions@FreeBSD.ORG Wed Apr 25 19:34:54 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 18C0916A402 for ; Wed, 25 Apr 2007 19:34:54 +0000 (UTC) (envelope-from warrenhead@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id A665013C45B for ; Wed, 25 Apr 2007 19:34:53 +0000 (UTC) (envelope-from warrenhead@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so424309ugh for ; Wed, 25 Apr 2007 12:34:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=YtWSskS4fhkZrnqaqlILgv2bvxAuxIE/nX07qI6QMaknMnvYiReeP/+bS9VCjp7Z4dlYEKU+Mfley3Dzif8baazT7A5ikxF6LnR6k4KWrfI2LDB5KPVptyvUidrlvInohD5TQhXgBQ8dodDdXJ5Acf1PvwoSsvi+ciwpV2MC7I0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=V7HBNBupkbOrYbjBRFuhOh0sSxfLOXwChj8L/qtiNl4MGOYJ0SE0jDRNJzsDeWn4C2qlCD1I/vGxeRvaJqBjwD1E6QWEGcL5mK7m6Whdt9zu3T2gPYzW23/Jmky4opfJr1dEeW5BLvo2+kEfi0gIfQYOJvRHCylICiWcioPX+/Q= Received: by 10.82.155.10 with SMTP id c10mr1901340bue.1177529692100; Wed, 25 Apr 2007 12:34:52 -0700 (PDT) Received: from ?192.168.179.11? ( [81.206.93.205]) by mx.google.com with ESMTP id c22sm575309ika.2007.04.25.12.34.50; Wed, 25 Apr 2007 12:34:51 -0700 (PDT) Message-ID: <462FAD5A.4090400@gmail.com> Date: Wed, 25 Apr 2007 21:34:50 +0200 From: WarrenHead User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 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: Wed, 25 Apr 2007 19:34:54 -0000 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 What could be the cause? Client or server? Cheers, Warren