comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » WIDGET_BASE: Unable to connect to X Windows display: :0.0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
WIDGET_BASE: Unable to connect to X Windows display: :0.0 [message #78906] Thu, 12 January 2012 09:53 Go to next message
Chao Luo is currently offline  Chao Luo
Messages: 1
Registered: January 2012
Junior Member
Hi guys,

I'm trying to run a program in a remote machine. I logon to remote
machine (LINUX cluster) from my home desktop. The problem I've got is:

WIDGET_BASE: Unable to connect to X Windows display: :0.0
WIDGET_BASE: Unable to establish X Connection.

I tried somethings like: ssh -X or set DISPLAY, but still same
problem.

My question is how to get rid of this problem, or turn off X windows
in IDL scripts.

Thanks much!
Re: WIDGET_BASE: Unable to connect to X Windows display: :0.0 [message #78992 is a reply to message #78906] Fri, 13 January 2012 01:28 Go to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
On 12/01/12 17:53, Chao Luo wrote:
> Hi guys,
>
> I'm trying to run a program in a remote machine. I logon to remote
> machine (LINUX cluster) from my home desktop. The problem I've got is:
>
> WIDGET_BASE: Unable to connect to X Windows display: :0.0
> WIDGET_BASE: Unable to establish X Connection.
>
> I tried somethings like: ssh -X or set DISPLAY, but still same
> problem.

There is something wrong with your sshd server on the remote machine. If
DISPLAY is set to :0.0 then it is not performing X11 forwarding. That
setting is trying to display on the main console of the host you are
logged into. Given it's a node on a cluster it probably doesn't have
one, and even if it did you wouldn't be able to access it.

When X11 forwarding is working, DISPLAY will be set to something like
localhost:11.0.

See the administrator of that machine and ask them to ensure that sshd
is configured correctly.

Also, it is more common to require -Y rather than -X these days.

>
> My question is how to get rid of this problem, or turn off X windows
> in IDL scripts.
>

You can just unset DISPLAY to get rid of the error message. But that
won't help you if your script uses things like WIDGET_BASE...

--
Nigel Wade
Re: WIDGET_BASE: Unable to connect to X Windows display: :0.0 [message #79005 is a reply to message #78906] Thu, 12 January 2012 11:14 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
This question keeps recurring. See, for instance,

http://groups.google.com/group/comp.lang.idl-pvwave/browse_t hread/thread/78ef8d5f35d9bbef
http://groups.google.com/group/comp.lang.idl-pvwave/browse_t hread/thread/ba794f5d7bc59c6a
http://groups.google.com/group/comp.lang.idl-pvwave/browse_t hread/thread/c6f5a033f630339a
http://groups.google.com/group/comp.lang.idl-pvwave/browse_t hread/thread/d55570674f13d026


On Jan 12, 3:53 pm, Chao Luo <chaoluo...@gmail.com> wrote:
> Hi guys,
>
> I'm trying to run a program in a remote machine. I logon to remote
> machine (LINUX cluster) from my home desktop. The problem I've got is:
>
> WIDGET_BASE: Unable to connect to X Windows display: :0.0
> WIDGET_BASE: Unable to establish X Connection.
>
>  I tried somethings like: ssh -X or set DISPLAY, but still same
> problem.
>
> My question is how to get rid of this problem, or turn off X windows
> in IDL scripts.
>
> Thanks much!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: textbaseline property not inherited by IDLgrText when specified in IDLgrAxis?
Next Topic: Re: how to create a LOG array from A to B

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:29:08 PDT 2025

Total time taken to generate the page: 0.00619 seconds