Re: ps_start, window problem [message #76797 is a reply to message #76793] |
Wed, 29 June 2011 20:19  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Gray writes:
> Hopefully this works (my last two posts never showed up...). I'm trying to run something on IDL 8.0.1 on someone else's machine, over an SSH tunnel. My code uses PS_START and PS_END to create postscript plots; when it gets to this point, I get errors from the WINDOW procedure:
>
> % WINDOW: Unable to connect to X Windows display: :0.0
> % WINDOW: Unable to open X Windows display.
> Is your DISPLAY environment variable set correctly?
>
> Why is it trying to communicate with the X Windows display (which I don't think works over SSH tunnels)? I'm trying to make postscript files.
I don't have a great deal of time to follow up with
this today, but I think it extremely likely that an
update of the entire Coyote Library would solve this
problem.
This was an old problem with the library and had to
do with cgColor and other color routines trying to get
"system colors". Apparently, you need a windows
connection to do this. Since I never used the system
colors, and I didn't know anyone else who did either, I
removed all this code from the Coyote Library routines.
As far as I know, there are no longer any issues with
needing a windows connection with any of the routines
in the Library.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
|
|
|