From: Mathieu Malaterre on
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 ?

Thanks,
--
Mathieu


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Javier Barroso on
Hi,

On Tue, Dec 1, 2009 at 5:35 PM, Mathieu Malaterre
<mathieu.malaterre(a)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).

Regards,


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Mathieu Malaterre on
On Tue, Dec 1, 2009 at 5:49 PM, Javier Barroso <javibarroso(a)gmail.com> wrote:
> Hi,
>
> On Tue, Dec 1, 2009 at 5:35 PM, Mathieu Malaterre
> <mathieu.malaterre(a)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


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Nicholas on
Javier Barroso wrote:
>> Error: Can't open display: :0.0

usr/X11R6/bin/xhost +

?
--
Sincerely,
Nicholas


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Javier Barroso on
On Tue, Dec 1, 2009 at 6:03 PM, Mathieu Malaterre
<mathieu.malaterre(a)gmail.com> wrote:
> On Tue, Dec 1, 2009 at 5:49 PM, Javier Barroso <javibarroso(a)gmail.com> wrote:
>> Hi,
>>
>> On Tue, Dec 1, 2009 at 5:35 PM, Mathieu Malaterre
>> <mathieu.malaterre(a)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-REQUEST(a)lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian..org
>
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org