You shouldn't need to manually set the DISPLAY variable if you allow
ssh to set it for you: "ssh -Y hostname" should give the correct
environment with port tunneling of X11 for you.
On 4 Nov 2010, at 21:43, Uenal wrote:
> Hi,
>
> Because of the way my IT set it up, I run fsl by first connecting
> to a server (server 1) with Reflection X and then by sshing to
> another server (server 2) that fsl is installed on.
> Now if I set the DISPLAY variable in my .cshrc, it messes things up
> if I connect from different locations on the network; i.e. when I
> connect at a different location and type fsl, the fsl window
> "display"s on another machine that it is pointed to on my ,cshrc.
>
> If I don't set it up in the .cshrc, then, when I run fsl I always
> get the "DISPLAY not set" error and I manually have to run the command
> setenv DISPLAY {my current ip address}
> to set it...
> Is there a way for the fsl to auto detect my DISPLAY location and
> auto-set it no matter with which PC and through which server(s) I
> connect and run it?
>
> Thanks,
>
> ..
> Unal
>
|