Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Feb 2003 10:43:43 -0600
From:      "Charles S. Libby" <Charles.S.Libby@motorola.com>
To:        clayton rollins <crollins666@hotmail.com>, freebsd-newbies@FreeBSD.ORG
Subject:   Re: Redirecting output in XFree86-4 under 5.0-RELEASE
Message-ID:  <3E413F3F.1090602@motorola.com>
In-Reply-To: <F688j7c7NK23EexdDbj0000eedd@hotmail.com>
References:  <F688j7c7NK23EexdDbj0000eedd@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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=<your_IP>: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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E413F3F.1090602>