You probably *should not* set the DISPLAY variable in the localwxplot script, as this value would change depending on several conditions, such as what machine you're logging in from, whether the connection is direct or tunneled, etc. And to be clear, you *are* logging into the GEMPAK machine through ssh? (You may reply to me directly so that we can stop bothering LDM people with this off-topic conversation... ;-)) Bret On Tue, 2011-10-04 at 15:47 -0400, MJ Jenkins wrote: > Sorry for the mis post, I did not know there was a separate GEMPAK > list. I'll be sure to note that next time. But, this is a PC running > Red Hat Enterprise Linux 5.7, in run level 3. Also, from your > suggestion regarding the -X option for X11 forwarding, I should not > need to set the display in the localwxplot script? > > -- > Mack J. Jenkins, II > 404-385-1591 > mack.jenkins@xxxxxxxxxxxxxx > System Support Engineer II > Earth & Atmospheric Sciences > > > > > > > > > > > On Oct 4, 2011, at 3:25 PM, Bret Whissel wrote: > > > > > This is probably more suited for the GEMPAK list than the LDM list, > > but I'll give it a shot. > > > > If you are remotely logged into the GEMPAK machine (with SSH or by > > some other means), I would suspect that the DISPLAY setting on your > > local machine is not being passed through. Usually either '-X' or > > '-Y' options on SSH will set up the DISPLAY tunneling properly, > > e.g., > > > > localcomp> ssh -Y myuid@remcomp > > [password dialog] > > remcomp> ./localwxplot > > [GEMPAK output window pops up] > > > > Depending on the set up, you may also need to ensure that > > 'X11Forwarding' is turned on in the remote server's SSHD > > configuration. > > > > If this is a local process, then I would wonder why $DISPLAY is not > > set. Are you on a PC running Cygwin/X or something? > > > > Bret > > > > On Tue, 2011-10-04 at 14:18 -0400, MJ Jenkins wrote: > > > > > I've got a question for you guys. I've done some digging, but have not > > > found a solution that works. > > > > > > I'm trying to run the localwxplot script and keep getting an error > > > message. Does anyone have a good solution for this? Below is thye > > > output generated from the localwxplot command. Towards the bottom of the > > > output is the error message that I am not finding a solution for, > > > [GEMPLT -83] NDISP - DISPLAY not set or invalid > > > > > > > > > > > > > > > [gempak@smla ~/sjbin]$ ./localwxplot > > > 18 > > > /usr/local/ldm/data/gempak/surface/20111004_sao.gem > > > Creating process: gplt for queue 3932160 > > > AREA Data area WV > > > GAREA Graphics area WV > > > SATFIL Satellite image filename(s) > > > RADFIL Radar image filename(s) > > > IMCBAR Color/ornt/anch/x;y/ln;wd/freq > > > SFPARM Surface parameter list > > > SKYC;TMPF;WSYM;PMSL;;DWPF;BRBK > > > DATTIM Date/time LAST > > > SFFILE Surface data file $GEMDATA/HRCBOB.SFC > > > COLORS Color list 1 > > > MAP Map color/dash/width/filter flag 1 > > > MSCALE fgc;bgc;mask/units/lat;hide/valu 0 > > > LATLON Line color/dash/width/freq/inc/l > > > TITLE Title color/line/title 1 > > > CLEAR Clear screen flag YES > > > PANEL Panel loc/color/dash/width/regn 0 > > > DEVICE Device|name|x size;y size|color XW > > > PROJ Map projection/angles/margins|dr MER > > > FILTER Filter data factor YES > > > TEXT Size/fnt/wdth/brdr/N-rot/just/hw 1 > > > LUTFIL Enhancement lookup table filenam > > > STNPLT Txtc/txt attr|marker attr|stnfil > > > CLRBAR Color/ornt/anch/x;y/ln;wd/freq|t > > > LSTPRM Filtered parm|x;y|TEXT info > > > Parameters requested: > > > AREA,GAREA,SATFIL,RADFIL,IMCBAR,SFPARM,DATTIM,SFFILE, > > > > > > COLORS,MAP,MSCALE,LATLON,TITLE,CLEAR,PANEL,DEVICE,PROJ,FILTER,TEXT,LUTFIL, > > > STNPLT,CLRBAR,LSTPRM. > > > GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> > > > GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> > > > GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> > > > GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP> > > > GEMPAK-SFMAP> GEMPAK-SFMAP> GEMPAK-SFMAP>Creating process: gf for queue > > > 3964929 > > > [GEMPLT -83] NDISP - DISPLAY not set or invalid > > > Parameters requested: > > > AREA,GAREA,SATFIL,RADFIL,IMCBAR,SFPARM,DATTIM,SFFILE, > > > > > > COLORS,MAP,MSCALE,LATLON,TITLE,CLEAR,PANEL,DEVICE,PROJ,FILTER,TEXT,LUTFIL, > > > STNPLT,CLRBAR,LSTPRM. > > > GEMPAK-SFMAP> GEMPAK-SFMAP>[gempak@smla ~/sjbin]$ > > > > > > -- > > > Mack J. Jenkins, II > > > 404-385-1591 > > > mack.jenkins@xxxxxxxxxxxxxx > > > System Support Engineer II > > > Earth & Atmospheric Sciences > > > > > > > > > > > > _______________________________________________ > > > ldm-users mailing list > > > ldm-users@xxxxxxxxxxxxxxxx > > > For list information or to unsubscribe, visit: > > > http://www.unidata.ucar.edu/mailing_lists/ > > > > > > > > > > _______________________________________________ > > ldm-users mailing list > > ldm-users@xxxxxxxxxxxxxxxx > > For list information or to unsubscribe, visit: > > http://www.unidata.ucar.edu/mailing_lists/ > >
Attachment:
face-wink.png
Description: PNG image
ldm-users
archives: