On Tue, Dec 1, 2009 at 6:03 PM, Mathieu Malaterre <mathieu.malate...@gmail.com> wrote: > On Tue, Dec 1, 2009 at 5:49 PM, Javier Barroso <javibarr...@gmail.com> wrote: >> Hi, >> >> On Tue, Dec 1, 2009 at 5:35 PM, Mathieu Malaterre >> <mathieu.malate...@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...) Maybe the response is in mpi faq (search xterm): http://www.open-mpi.de/faq/?category=debugging
I think you will have to disable -nolisten option in X see this bug for reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539186 Regards, > > Thanks ! > -- > Mathieu > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org