Re: ps_start, window problem [message #76779] |
Fri, 01 July 2011 05:57 |
Gray
Messages: 253 Registered: February 2010
|
Senior Member |
|
|
On Jun 30, 5:46 am, Carsten Lechte <c...@toppoint.de> wrote:
> On 29/06/11 20:22, Gray wrote:
>
>> Why is it trying to communicate with the X Windows display (which I don't think works over SSH tunnels)?
>
> Just for information, since David already gave an answer: X11 works
> great* over ssh, provided you told ssh to tunnel the display
> connection (using the -X option) AND there is actually an X11 server
> on your end to connect to, which is usually not the case on Windows.
>
> chl
> *) X11 never works great over slow, high-latency connections
I fixed the X-window forwarding and it works great now! Thanks all.
And it seems like I can see my posts now, which is also a plus!
|
|
|
Re: ps_start, window problem [message #76793 is a reply to message #76779] |
Thu, 30 June 2011 02:46  |
Carsten Lechte
Messages: 124 Registered: August 2006
|
Senior Member |
|
|
On 29/06/11 20:22, Gray wrote:
> Why is it trying to communicate with the X Windows display (which I don't think works over SSH tunnels)?
Just for information, since David already gave an answer: X11 works
great* over ssh, provided you told ssh to tunnel the display
connection (using the -X option) AND there is actually an X11 server
on your end to connect to, which is usually not the case on Windows.
chl
*) X11 never works great over slow, high-latency connections
|
|
|
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.")
|
|
|