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

Home » Public Forums » archive » Re: how to display on the unix system
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
Re: how to display on the unix system [message #70076] Sat, 13 March 2010 08:24
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Mar 13, 1:09 am, Mok <jungbin...@hotmail.com> wrote:
> Now I am using IDL remotely connecting to unix system.
> And I am sorry but I am not good at using unix system, so that I do
> not know which graphical interface work.
> Is there any command to create window in the unix system?

What are you using to connect to the remote host? You need to be
running an X server in your local computer (to run any graphical
programs, not just IDL). Windows does not come with one. Common
choices for Windows X servers are Xming, Cygwin and X-Win32.
Re: how to display on the unix system [message #70083 is a reply to message #70076] Fri, 12 March 2010 20:09 Go to previous message
Nick[1] is currently offline  Nick[1]
Messages: 10
Registered: May 2007
Junior Member
Now I am using IDL remotely connecting to unix system.
And I am sorry but I am not good at using unix system, so that I do
not know which graphical interface work.
Is there any command to create window in the unix system?
Re: how to display on the unix system [message #70114 is a reply to message #70083] Wed, 10 March 2010 15:19 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
On Mar 10, 4:59 pm, Mok <jungbin...@hotmail.com> wrote:
> Dear all
> I used to display IDL on the window system using ‘window’ such as,
>
> window, 0, xs=900, ys=900
>
> Now, however, I have to display my results on the unix system.
> But if I use ‘window, 0’ on the unix system, there is errors like
>
> % WINDOW: Unable to connect to X Windows display: :0.0
> % WINDOW: Unable to open X Windows display.
>           Is your DISPLAY environment variable set correctly?
>

Try using

ssh -X user@host

when you are connecting to the machine where you run IDL on.

Ciao,
Paolo

> I am not familiar to use IDL on the unix system. So could anyone let
> me know how to display on the unix system?
> Thank you very much in advance.
Re: how to display on the unix system [message #70115 is a reply to message #70114] Wed, 10 March 2010 14:24 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Mar 10, 6:59 pm, Mok <jungbin...@hotmail.com> wrote:
> Now, however, I have to display my results on the unix system.
> But if I use ‘window, 0’ on the unix system, there is errors like
>
> % WINDOW: Unable to connect to X Windows display: :0.0
> % WINDOW: Unable to open X Windows display.
>           Is your DISPLAY environment variable set correctly?

That means IDL cannot open a window, but the problem is unrelated to
the window command. From that, I would guess that neither idlde, or
directly calling any IDL routine that needs graphics would work.

This suggests that either there is no X server running, or that
DISPLAY is set to the wrong X server. Either way, it is not an issue
specific to IDL.

How are you running IDL on that computer? Are you using the computer
directly, or remotely? Do any other programs with a graphical
interface work? xclock is a commonly present lightweight program that
can be used to test this.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: rejecting a few pixel values from an array of pixel values
Next Topic: Re: Proper Map Label Clipping

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

Current Time: Mon Dec 01 13:42:21 PST 2025

Total time taken to generate the page: 0.22321 seconds