IDL runtime and X window [message #76963] |
Wed, 20 July 2011 14:36 |
Deckard++;
Messages: 11 Registered: March 2010
|
Junior Member |
|
|
Hi,
I have created a runtime application that is intended to run some
simulation code on one of our lab servers. The lab only has a runtime
license for this server, which means that I have no way to run this
code from the IDL prompt. I have created my runtime application, saved
it in a .sav file and tested it like this:
idl -rt=myapp.sav
It works fine on my development machine, but when I transfer it our
the lab server and executes the same command, it starts IDL and then
opens a window with the text "IDL Virtual Machine. Distribution
platform to run IDL applications. Upgrade to a development license of
IDL." and the IDL logo, and you have to click a button called "Click
to continue" to actually run your code!
The big problem here is that my code has to run for ~2 weeks, and I
have to run it in a detached/background process. If I launch IDL in
the background (followed by &) and then close the ssh connection to
the server, it will terminate idl because the X window link is broken:
X connection to localhost:10.0 broken (explicit kill or server
shutdown).
And if I don't forward the display over ssh, IDL will display the
following error and quit without executing the code:
% Unable to connect to X Windows display: :0.0
% Unable to open X Windows display.
Is your DISPLAY environment variable set correctly?
This is crazy because this window is totally useless and my code has
no need for X window display. Can you help me? Do you know how to
avoid having this window?
Thanks in advance,
-- Arthur;
|
|
|