This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hello Víctor. So to summarize, this problem is specifically isolated to -trace flag. Out of curiosity, why do you run the IDV with the -trace flag? If the trace option is important, I would suggest trying the trace tag in the ISL, and omitting the -trace flag from the command line, although it is possible this solution will still fail. See http://www.unidata.ucar.edu/software/idv/docs/userguide/frames.html for details. Let us know the results of this experiment. Best Wishes, Unidata IDV Support > Thanks for your response, > > Yes, xvfb-run works fine with any other program we try: vis5d, xterm, > firefox. Even runIDV without the "-trace" flag seems to work fine with > xvfb-run > > We are trying to use runIDV to create graphics automatically out of our daily > WRF runs and the machine it is running on is a server with no monitor. > > > Thanks in advance, > > Víctor. > > On 13/09/2012, at 20:48, Unidata IDV Support wrote: > > > Dear Víctor, > > > > In order to better diagnosis this problem, I would like to know if this > > problem is isolated to the IDV. For the hardware in question, is it > > possible to run Xvfb successfully in any scenario? For example, on this > > computer, can you a web browser (e.g. firefox) with xvfb-run? > > > > Also, I was not clear from your request, but Xvfb is not the only avenue > > for the IDV to run in offscreen mode. If the computer in question has > > graphics environment (i.e. graphics card, monitor), you do not need to use > > Xvfb. > > > > Best Wishes, > > > > Unidata IDV Support > > > >> Dear IDV support team, > >> > >> We are trying to execute a script with IDV that creates daily plots > >> executed from a cron script. We read in the IDV documentation that: > >> > >> The the IDV can run in "offscreen" mode (see more) with an ISL or with > >> Jython. The user interface won't be shown. However, the IDV still needs > >> to be run with an active window system (e.g., X, MS Windows) for it to > >> run. If running under a Linux/Unix machine and you don't have an X > >> server running you need to run the IDV under the X virtual frame buffer: > >> xvfb. > >> > >> however, we are not able to run in offscreen mode and we get a not very > >> informative error of what is going on: > >> > >>> xvfb-run runIDV -trace tempbrillo06.isl > >> > >> Could not create a graphics configuration. > >> Please contact Unidata user support or see the FAQ > >> > >> Is there any way to run an IDV script in background mode? > >> > >> Many thanks in advance, > >> > >> Víctor. > >> PD: We got this error with version 3.0u and recently updated to 3.1 with > >> no luck either. > >> > >> Begin forwarded message: > >> > >>> From: Regina Guilabert <address@hidden> > >>> Date: 10 de setembre de 2012 13:18:53 GMT+02:00 > >>> To: Víctor Homar <address@hidden> > >>> Subject: Error IDV amb Xvfb > >>> > >>> La comanda en concret que utlitz es > >>> > >>> xvfb-run runIDV -trace tempbrillo06.isl > >>> > >>> I l'error que dona es: > >>> > >>> Could not create a graphics configuration. > >>> Please contact Unidata user support or see the FAQ > >>> > >>> Si li faig el setenv DISPLAY :69 passa exactament lo mateix. > >>> > >>> Regina > >> > >> -- > >> -------------------------------------------------------------------- > >> Víctor Homar Santaner > >> Grup de Meteorologia Departament de Física > >> Edif. Mateu Orfila Tel: +34 971 17 2505 > >> Universitat de les Illes Balears Fax: +34 971 17 3426 > >> 07122 Palma de Mallorca (SPAIN) Email: address@hidden > >> > >> Knowledge is contagious. Infect truth. > >> -------------------------------------------------------------------- > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > > > > > Ticket Details > > =================== > > Ticket ID: XBM-123122 > > Department: Support IDV > > Priority: Normal > > Status: Closed > > > > -- > -------------------------------------------------------------------- > Víctor Homar Santaner > Grup de Meteorologia Departament de Física > Edif. Mateu Orfila Tel: +34 971 17 2505 > Universitat de les Illes Balears Fax: +34 971 17 3426 > 07122 Palma de Mallorca (SPAIN) Email: address@hidden > > Knowledge is contagious. Infect truth. > -------------------------------------------------------------------- Ticket Details =================== Ticket ID: XBM-123122 Department: Support IDV Priority: Normal Status: Closed