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

Home » Public Forums » archive » Re: IDL without X11?
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: IDL without X11? [message #69577 is a reply to message #69574] Sat, 06 February 2010 07:30 Go to previous messageGo to previous message
George White is currently offline  George White
Messages: 10
Registered: November 1998
Junior Member
On Fri, 5 Feb 2010, nata wrote:

> I found this:
>
> Since this program is an X client, it requires the presence of an X
> server,
> making it problematic to automate this process using CRON.
>
> The X version X11R6 was downloaded via anonymous ftp from:
>
> ftp://ferret.wrc.noaa.gov/pub/special_requests/xvfb/solaris/ X11R6/bin...
>
> Then it's just a matter of starting the virtual frame buffer program
> on <HOST> to create the virtual display #1:
>
> /usr/X11R6/bin/Xvfb :1 -screen 0 1152x900x8 &
>
> Then within the script that performs <desired batch operations>
> the following line sends graphics output to DISPLAY 1, the virtual
> frame
> buffer we just started:
>
> set DISPLAY=:1.0 ; export DISPLAY
>
> I installed Xvfb and I do:
> Xvfb :5 -screen 0 1152x900x8 &
> set DISPLAY=:5.0 ; export DISPLAY
> idl
> plot, dist(2)
> % Compiled module: DIST.
> X11 connection rejected because of wrong authentication.
>
>
> T_T It doesn't work !
> Help?
> nata

It takes a bit of time for Xvfb to start, so you may need a "sleep"
after starting Xvfb before you can actually use it.

I've been using Xvfb on a number of machines for years. Most of these
machines run for extended periods between boots, so I just start Xvfb
manually after a restart. There is one (headless) machine where we have
to use TCPIP, e.g. DISPLAY=localhost:2 in place of just DISPLAY=:2.

You can query the Xvfb server using xdpyinfo.


--
George White <aa056@chebucto.ns.ca> <gnw3@acm.org>
189 Parklea Dr., Head of St. Margarets Bay, Nova Scotia B3Z 2G6
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: fingerprint
Next Topic: IDL processed mosaic image of the Moon, 8000x8800 pixels

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

Current Time: Thu Oct 09 23:05:34 PDT 2025

Total time taken to generate the page: 0.59815 seconds