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

Home » Public Forums » archive » Re: Faking X Display for IDL Bridge
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Faking X Display for IDL Bridge [message #72429 is a reply to message #72428] Mon, 13 September 2010 07:39 Go to previous message
jeffnettles4870 is currently offline  jeffnettles4870
Messages: 111
Registered: October 2006
Senior Member
On Sep 13, 10:30 am, Haje Korth <hajeko...@gmail.com> wrote:
> Hi,
> I just had this great idea of forking IDL jobs on my 16-CPU server
> using the IDL to IDL Bridge. The code runs great from the command line
> but using a UNIX cron job I get the error message "IDL_IDLBridge:
> Unable to establish X Connection." To late did I understand the the
> help that reads:
>
> "Warning: On UNIX systems, the IDL_IDLBridge requires that the DISPLAY
> environment variable be set to a valid X Windows display. If no
> display is available, execution of the IDL_IDLBridge will halt, with
> error messages that include:IDL_IDLBridge: Unable to establish X
> Connection."
>
> The requirement for an X display seems silly, as my code does not
> display anything. Is there a way to fake the existence of an X window?
> Or did I just wasted my time coding this feature?
>
> Haje

I'm not a linux expert by any means, so forgive me if this is stupid,
but couldn't you just set the display env't variable anyway whether
you use it or not? It does seem silly that you have to set it whether
or not you use it, but is there any harm in just setting it?

On another note, how difficult was it to code up the IDL_IDLBridge
forking? I've thought about this myself but haven't really dived into
doing it other than a few (failed) half-hearted stabs.

Jeff
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Faking X Display for IDL Bridge
Next Topic: KRSgrAVI or another AVI multi-platform library

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

Current Time: Tue Dec 02 13:07:24 PST 2025

Total time taken to generate the page: 1.59966 seconds