ENVI_BATCH_INIT refuses to run without an available X windows session [message #74863] |
Mon, 07 February 2011 05:19 |
Robin Wilson
Messages: 40 Registered: August 2010
|
Member |
|
|
Hi all,
I'm trying to run some programs that use ENVI commands on a
high-performance linux server that doesn't run X Windows. I assumed I
could do this by using the ENVI batch mode (through ENVI_BATCH_INIT),
but it is complaining that it can't find an X server.
The log of my session is below:
IDL> ENVI, /restore_base_save_files
% Restored file: ENVI.
% Restored file: ENVI_M01.
% Restored file: ENVI_M02.
% Restored file: ENVI_M03.
% Restored file: ENVI_M04.
% Restored file: ENVI_M05.
% Restored file: ENVI_M06.
% Restored file: ENVI_M07.
% Restored file: ENVI_M08.
% Restored file: ENVI_D01.
% Restored file: ENVI_D02.
% Restored file: ENVI_D03.
% Restored file: ENVI_CW.
% Restored file: ENVI_IDL.
% Restored file: ENVI_IOU.
IDL> ENVI_BATCH_INIT, logfile="envilog.log"
% Keyword LOGFILE not allowed in call to: ENVI_BATCH_INIT
% Execution halted at: $MAIN$
IDL> ENVI_BATCH_INIT, log_file="envilog.log"
% DEVICE: Unable to connect to X Windows display: :0.0
% DEVICE: Unable to open X Windows display.
Is your DISPLAY environment variable set correctly?
% Execution halted at: ENVI_INIT
% ENVI_BATCH_INIT
% $MAIN$
Does anyone have any ideas how to fix this? I'm sure the ENVI_BATCH_INIT
command shouldn't need to get access to an X windows display?
Cheers,
Robin
------------------
Robin Wilson
A PhD student studying complexity in remote sensing
www.rtwilson.com/academic
|
|
|