From owner-freebsd-newbies Wed Feb 5 8:50:25 2003 Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 688E637B401 for ; Wed, 5 Feb 2003 08:50:23 -0800 (PST) Received: from motgate.mot.com (motgate.mot.com [129.188.136.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0FF743F43 for ; Wed, 5 Feb 2003 08:50:22 -0800 (PST) (envelope-from Charles.S.Libby@motorola.com) Received: from pobox3.mot.com (pobox3.mot.com [10.64.251.242]) by motgate.mot.com (Motorola/Motgate) with ESMTP id h15GoGZx018026 for ; Wed, 5 Feb 2003 09:50:16 -0700 (MST) Received: [from il33exm02.wes.mot.com (il33exm02.wes.mot.com [154.56.3.102]) by pobox3.mot.com (MOT-pobox3 2.0) with ESMTP id JAA24650 for ; Wed, 5 Feb 2003 09:49:05 -0700 (MST)] Received: from motorola.com (DHCP129_188_138_177.corp.mot.com [129.188.138.177]) by il33exm02.wes.mot.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2656.59) id D57A917K; Wed, 5 Feb 2003 10:49:25 -0600 Message-ID: <3E413F3F.1090602@motorola.com> Date: Wed, 05 Feb 2003 10:43:43 -0600 From: "Charles S. Libby" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en MIME-Version: 1.0 To: clayton rollins , freebsd-newbies@FreeBSD.ORG Subject: Re: Redirecting output in XFree86-4 under 5.0-RELEASE References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The Display Variable will be sent to remote hosts if the SSH server has X11Relay Configured. This is found in the sshd_config file. It can also be set up as a relay agent to forward displays. We use this to connect with my lab through a proxy server. Charles clayton rollins wrote: > You can set ssh to export the display variable through the > $user/.ssh/environment script with a line like 'export > DISPLAY=:0' > > hope that helps you some. > > Peace, > Clayton > >> -> > I've recently installed XFree86-4 under 5.0-RELEASE and I didn't >> have a >> -> > solution to redirect the graphical output of a remote host to mine. >> -> > After enabling the remote host with 'xhost' in the localhost and >> setting >> -> > the 'DISPLAY' variable under the SSH session, when I start a >> graphical >> -> > program it returns 'unable to open display'. >> -> >> -> Well, what I was suppose to say was that, did you try to redirect >> -> the X using the -X flag in ssh? Then you wouldn't have to play >> -> around with xhost and the DISPLAY variable at all. >> -> >> -> ssh -X you@your.server >> -> >> >> Thanks! But it didn't solve the problem :-( >> >> SSH doesn't set the DISPLAY variable on the remote hosts. >> >> I think that those Linux boxes don't wanna give me his services >> anymore :-D > > > > _________________________________________________________________ > Tired of spam? Get advanced junk mail protection with MSN 8. > http://join.msn.com/?page=features/junkmail > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message