[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh -X Error: Can't open display: :0.0



On Tue, Dec 1, 2009 at 5:49 PM, Javier Barroso <javibarroso@gmail.com> wrote:
> Hi,
>
> On Tue, Dec 1, 2009 at 5:35 PM, Mathieu Malaterre
> <mathieu.malaterre@gmail.com> wrote:
>> Hi there,
>>
>>  I am getting confused. I cannot get xclock to run on a remote host
>> from my ssh session:
>>
>> local $ ssh -X mpi0
>> remote $ xclock
>> Error: Can't open display: :0.0
>>
>> But I can still do:
>>
>> local $ ssh -Xf mpi0 xclock
>>
>> Could someone please remind me what is the difference, and what am I
>> missing in the first scenario ?
> Do you set DISPLAY variable in your login ?
>
> If you do you have to unset it (don't assign any value in any session
> config file).

Ah ! That was the trick.
I can now move on to the next issue, how to get mpirun to do ssh -X
... (since ForwardX11 yes is not honored...)

Thanks !
-- 
Mathieu


Reply to: