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

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



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).

Regards,


Reply to: