[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20041104: BGSU - Redbook - GEMPAK



Patrick,

Your Xvfb server is refusing connections when DISPLAY is unidata.bgsu.edu:1.0,
but will accept localhost connection when DISPLAY is :1.0.

I'm assuming this is a result of your firewall or tcpwrappers where the
qualified hostname forces a connection over the ip iinterface, whereas
the localhostroute is accepted.

As an example:

    [ldm@unidata ~gempak]$ echo $DISPLAY
    unidata.bgsu.edu:1.0
    [ldm@unidata ~gempak]$ xterm
    xterm Xt error: Can't open display: unidata.bgsu.edu:1.0
    
    [ldm@unidata ~gempak]$ echo $DISPLAY
    :1.0
    [ldm@unidata ~gempak]$ xterm

Therefore, you will also fail in having dcredbook_gf try to connect,
which is the error message you received:
    >[2130] 041104/1344[GEMPLT -83]  NDISP - DISPLAY not set or invalid


I modified the dcredbook_gif script to set the display to :1.0
instead of unidata.bgsu.edu:1.0.

Also, the script is creating a gif of size 1280x1024. Your
running Xvfb was 1152x900, so I edited the /etc/init.d/xvfb to
create a 1280x1024 virtual display and restarted Xvfb.

Lastsly, the dcredbook_gif.csh is expecting 3 input parameters
which are used to name the output file. The pqact.conf action
you had was for the postscript print example I provided which did
not need an output file, but this script does, so I added the
3 parameters to the pqact.conf pattern/action.

After these changes, your gifs are updating.

Steve Chiswell
Unidata User Support




>
>---------- Forwarded message ----------
>Date: Thu, 04 Nov 2004 13:50:29 -0500
>From: Patrick L. Francis <address@hidden>
>To: Jeff Weber <address@hidden>
>Subject: sc
>
>
>so would you care to logon and
>evaluate dcredbook_gif.csh which
>was working until i switched the
>write directory to data/redbook/gifs/
>
>script location:
>/home/ldm/util
>
>gif location:
>/home/ldm/data/redbook/gifs
>
>redbook data location:
>/home/ldm/data/redbook/data
>
>so i could let scour leave the
>images indefinitely?
>
>Xvfb is running as:
>
>Xvfb :1 -screen 0 1280x1024x24 &
>
>but the log is showing it as not running:
>
>[2125] 041104/1344[DC 6]  Shutting down.
>[2130] 041104/1344[GEMPLT -83]  NDISP - DISPLAY not set or invalid
>[2130] 041104/1344[GEMPLT -8]  NDVICE - Device not set.
>[2130] 041104/1344[GG -7]  No map drawn.
>[2130] 041104/1344[DCREDBOOK -1] could not move /tmp/.rdbk8LH0tL to
>9AV-SURFACE_GEO_REL_VORT.gif
>
>also i would be so humbly grateful if you would
>take a look at
>/home/ldm/util/NEXRAD_gif.csh
>
>which just refuses to work (is currently unset in pqact).
>
>
>------------------------------------------
>Patrick L. Francis
>Department of Geography
>Bowling Green State University
>Office 301-F Hanna Hall
>Phone 419.372.4185
>Fax: 419.372.0588
>Web: http://weather.bgsu.edu/
>------------------------------------------
>
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.