I want to run a .sav file, compiled with IDL, on a Docker container. In the container I set up IDL 8.5.1 without a license and all the needed dependencies starting from a ubuntu:16.04 image. Here I start the execution of the .sav file with the command idl -vm=<name>.sav At first, I obtained this error: % Unable to connect to X Windows display: :0.0 % Unable to establish X Connection. Segmentation fault (core dumped) So I tried to set up a dummy display through VNC. I installed vnc4server, set its password using the command printf "password\npassword\n\n" | vncpasswd in order not to be asked for a password when I run the command vnc4server afterwards. I set the DISPLAY environment variable with: export DISPLAY=$HOSTNAME:1 and then I type the command idl -vm=<name>.sav. The problem is that the IDL virtual machine expects me to click OK on the splash window to start the execution of the script, but I have to run the save file absolutely with no GUI. Is there a way to avoid this splash screen and execute the script immediately? If not, is there another way to make the execution of the save file completely independent from any user interaction??
|