WIDGET_BASE: Unable to connect to X Windows display: :0.0 [message #78906] |
Thu, 12 January 2012 09:53  |
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  |
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
|
|
|
|