Re: ssh -X Error: Can't open display: :0.0
On Tue, Dec 1, 2009 at 6:03 PM, Mathieu Malaterre
> On Tue, Dec 1, 2009 at 5:49 PM, Javier Barroso <firstname.lastname@example.org> wrote:
>> On Tue, Dec 1, 2009 at 5:35 PM, Mathieu Malaterre
>> <email@example.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...)
Maybe the response is in mpi faq (search xterm):
I think you will have to disable -nolisten option in X see this bug
> Thanks !
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org