On 11/2/06, Vladimir Eremeev <wl at eimb.ru>
wrote:> Dear useRs,
>
> Sorry, if this is a FAQ.
> I just need the direction to dig.
>
> I am working on the linux box (its DNS name is raccoon, to be
> definite), Fedora Core 3.
>
> I connect with ssh to another linux box (Debian, dns name chena) and run R
on it.
> When I call a plotting function from the R command line, it produces the
file Rplots.ps,
> containing the required plot.
>
> I am running X on the raccoon.
>
> When I run R on the raccoon and call a plotting function, I see a
> window with plots inside.
>
> I would like to see similar window on the raccoon, as a result of call
> to plotting function when R runs on chena.
>
> Is it possible?
>
> I played a bit with setting the DISPLAY environment on chena, but
> without success.
Depending on the settings, you usually need to give the -X flag to ssh, e.g:
user at racoon$ ssh -X chena
If that doesn't work, try -Y. If that doesn't work, look inside
/etc/ssh/sshd_config on chena to see if X forwarding is disabled.
Deepayan