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.
The Xservers file is generally configured in /usr/dt/config or /etc/dt/config. The file configures the launching of Xsun. From the Solaris man page on Xsun, use the defdepth 8 configuration following the -dev specification. Steve Chiswell Unidata User Support >From: "Byles, Pavel O" <address@hidden> >Organization: UCAR/Unidata >Keywords: 200206102004.g5AK4NJ03268 > When I run xdpyinfo I get this after I change the number of bits in use: > >number of visuals: 1 > default visual id: 0x22 > visual: > visual id: 0x22 > class: TrueColor > depth: 24 planes > available colormap entries: 256 per subfield > red, green, blue masks: 0xff0000, 0xff00, 0xff > significant bits in color specification: 8 bits > >Running garp I get this error still. >The depth is 24 planes. How do I change it. Because I know that the visual >id is suppused to be 0x20. Don't know how to change it from 0x22 to 0x20. Am >I right? > >Pavel Byles > > > >-----Original Message----- >From: Unidata Support >To: Pavel Byles-Howard University Engineering >Cc: Unidata Support >Sent: 5/29/02 4:20 PM >Subject: 20020529: 20020529: 20020524: Gempak Binary Installation > >>From: Pavel Byles-Howard University Engineering <address@hidden> >>Organization: UCAR/Unidata >>Keywords: 200205291953.g4TJrup28655 > >>I do not have a /usr/openwin..... dir. >> >>The only thing that's in the Xservers file is this: >> :0 Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner > > >Note that this file also references /usr/openwin/bin which you say you >don't have. >Find where you have xdpyinfo installed on your system- should be in the >same >directory that has xterm, xeyes, and other X applications. > >You may have to add the "defdepth 8" to the configuration. But, we need >to see the >output from xdpyinfo. > >Steve Chiswell > > > > >> >>I do not see where the defdepth is defined. I am using a Sun Solaris >Sparc >>system. CDE. >> >>Pavel Byles >> >>On Wed, 29 May 2002, Unidata Support wrote: >> >>> >>> Pavel, >>> >>> Your error message when trying to launch ntl (or freeColors) >>> >>> >ldm% bin/sol/ntl -s 32 >>> >Resource File: /space/home/ldm/Gempak/resource/Ntop >>> >graphic, satellite, radar -- 33 32 20 >>> > Request total # of colors = 85 >>> >X Error of failed request: BadValue (integer parameter out of range >for >>> >operation) >>> > Major opcode of failed request: 86 (X_AllocColorCells) >>> >>> >>> appears to show that your default X visual is not 8 bit pseudocolor. >>> You can run the /usr/openwin/bin/xdpyinfo command to show what your >>> default visual id and setting is. It will probably show that your >default >>> visual id is set to 24 bit true color. It should be 8 bit for >>> GEMPAK programs to be able to allocate their colors. >>> >>> If you are running with the default visual as 24 bits, check your >>> /usr/dt/config/Xservers file and see if you are specifying "defdepth >24". >>> >>> Steve Chiswell >>> Unidata User Support >>> >>> >>> >>> >>> >>> >>> >From: "Byles, Pavel O" <address@hidden> >>> >Organization: UCAR/Unidata >>> >Keywords: 200205242237.g4OMb3a04190 >>> >>> > Thanks for the last advice it was helpful. >>> >When I try to run GARP the window comes up but it closes and reports >this >>> >error... >>> >ldm% bin/sol/garp >>> >G A R P - v2.1 starting... >>> > Warning: keylist is null >>> > Cannnot set option menu default button >>> > Warning: keylist is null >>> > Cannnot set option menu default button >>> > Warning: keylist is null >>> > Cannnot set option menu default button >>> > Warning: keylist is null >>> > Cannnot set option menu default button >>> >InitGempakColorMap: Can't allocate Graphic colors. >>> >GarpInitialize: GempakInit failed >>> >Main: Initialization failed. Exiting >>> > >>> > >> >I then tried to run ntp -s 32 and I get this error... >>> >ldm% bin/sol/ntl -s 32 >>> >Resource File: /space/home/ldm/Gempak/resource/Ntop >>> >graphic, satellite, radar -- 33 32 20 >>> > Request total # of colors = 85 >>> >X Error of failed request: BadValue (integer parameter out of range >for >>> >operation) >>> > Major opcode of failed request: 86 (X_AllocColorCells) >>> > Value in failed request: 0x0 >>> > Serial number of failed request: 276 >>> > Current serial number in output stream: 276 >>> > >>> >What should I do? (This is on Sun Solaris 5.7 on Sparc Ultra 5 btw) >>> > >>> >Pavel Byles >>> > >>> > >>> > >>> > >>> > >>> >-----Original Message----- >>> >From: Unidata Support >>> >To: Pavel Byles-Howard University Engineering >>> >Cc: address@hidden >>> >Sent: 5/24/02 3:35 PM >>> >Subject: 20020524: Gempak Binary Installation >>> > >>> >>From: Pavel Byles-Howard University Engineering <address@hidden> >>> >>Organization: UCAR/Unidata >>> >>Keywords: 200205241808.g4OI8Ca13440 >>> > >>> >>Hi, >>> >>my name is Pavel Byles from Howard University. I have recently >>> >installed >>> >>the LDM and I am now shooting for Gempak. I downloaded, and untared >the >>> > >>> >>distribution but I am not sure how to get it running. I am using >>> >Solaris >>> >>5.7. I have edited the Gemenviron file to point to where I unpacked > >>> >>Gempak. Is that all I need to do? And how do I run Gempak? >>> >> >>> >>Thankyou. >>> >>-- >>> >>Pavel Byles >>> >>Sent using Pine ver. 4.4 >>> >>on RedHat Linux 7.3 >>> >>http://138.238.177.225 >>> >> >>> > >>> > >>> >Pavel, >>> > >>> >If your system has the fortran sharable libraries, then you are all >set. >>> >If you do not have the fortran libraries on your system, then you >can >>> >download them as well from our web site. >>> > >>> >Once you have edited the Gemenviron file and sourced the contents >>> >into your csh environment, you can verify that the shareable >libraries >>> >are being found on your system by running "ldd $GEMEXE/nmap2". >>> >(The GEMEXE environmental variable will be set when you source >>> >Gemenviron, >>> >and will point to the directory containing the GEMPAK executables >>> >the bin/sol or bin/x86 directory depending on whether you are >running >>> >under Solaris Sparc of Solaris for Intel). >>> > >>> >If the ldd command shows that your environment isn't finding some >>> >shareable libraries, use the LD_LIBRARY_PATH environmental >>> >variable to set where your system should be finding them. >>> > >>> >If you are going to use GEMPAK to decode and display data arriving >>> >from your LDM, see: >>> >>http://www.unidata.ucar.edu/packages/gempak/GEMPAK5.6/configuration.htm >l >>> > >>> >The GEMDATA environmental variable, which you define in the >Gemenviron >>> >file generally is set to the ~ldm/data/gempak directory. >>> > >>> >A Good place to start for learning to use GEMPAK is: >>> >http://www.unidata.ucar.edu/packages/gempak/tutorial >>> > >>> >Steve Chiswell >>> >>*********************************************************************** >* >>> >**** < >>> >Unidata User Support UCAR Unidata >>> >Program < >>> >(303)497-8643 P.O. >Box >>> >3000 < >>> >address@hidden Boulder, >CO >>> >80307 < >>> >>----------------------------------------------------------------------- >- >>> >---- < >>> >Unidata WWW Service >http://www.unidata.ucar.edu/ >>> >< >>> >>*********************************************************************** >* >>> >**** < >>> > >>> >From address@hidden Wed May 29 10:21:57 2002 >>> >Received: from parker.howard.edu ([138.238.147.154]) >>> > by unidata.ucar.edu (UCAR/Unidata) with ESMTP id g4TGLvp16133 >>> > for <address@hidden>; Wed, 29 May 2002 10:21:57 -0600 >(MDT) >>> >Organization: UCAR/Unidata >>> >Keywords: 200205291621.g4TGLvp16133 >>> >Received: from [138.238.177.225] (138.238.177.225 [138.238.177.225]) >by par >> ker >>> > .howard.edu with SMTP (Microsoft Exchange Internet Mail Service >Version 5. >> 5.2 >>> > 653.13) >>> > id LLSSBLW6; Wed, 29 May 2002 12:21:56 -0400 >>> >Date: Wed, 29 May 2002 12:20:05 -0400 (EDT) >>> >From: Pavel Byles-Howard University Engineering <address@hidden> >>> >X-X-Sender: pbyles@localhost.localdomain >>> >To: address@hidden >>> >Subject: Howard Univ. >>> >Message-ID: ><Pine.LNX.4.44.0205291056050.4534-100000@localhost.localdomain> >>> >MIME-Version: 1.0 >>> >Content-Type: TEXT/PLAIN; charset=US-ASCII >>> > >>> >Steve: >>> >I try after I sourced the Gemenviron and ran ldd $GEMEXE (it found >all the >>> >files) I get this error. I even tried just running "garp" and the >same >>> >error appeared. >>> >Can you tell me what's wrong? >>> > >>> >ldm% garp -s 8 >>> >G A R P - v2.1 starting... >>> > Warning: keylist is null >>> > Cannnot set option menu default button >>> > Warning: keylist is null >>> > Cannnot set option menu default button >>> > Warning: keylist is null >>> > Cannnot set option menu default button >>> > Warning: keylist is null >>> > Cannnot set option menu default button >>> >InitGempakColorMap: Can't allocate Graphic colors. >>> >GarpInitialize: GempakInit failed >>> >Main: Initialization failed. Exiting >>> > >>> >-- >>> >Pavel Byles >>> >Sent using Pine ver. 4.4 >>> >on RedHat Linux 7.3 >>> >http://138.238.177.225 >>> > >>> >From address@hidden Wed May 29 10:23:49 2002 >>> >Received: from parker.howard.edu ([138.238.147.154]) >>> > by unidata.ucar.edu (UCAR/Unidata) with ESMTP id g4TGNnp16222 >>> > for <address@hidden>; Wed, 29 May 2002 10:23:49 -0600 >(MDT) >>> >Organization: UCAR/Unidata >>> >Keywords: 200205291623.g4TGNnp16222 >>> >Received: from [138.238.177.225] (138.238.177.225 [138.238.177.225]) >by par >> ker >>> > .howard.edu with SMTP (Microsoft Exchange Internet Mail Service >Version 5. >> 5.2 >>> > 653.13) >>> > id LLSSBLW8; Wed, 29 May 2002 12:23:48 -0400 >>> >Date: Wed, 29 May 2002 12:21:58 -0400 (EDT) >>> >From: Pavel Byles-Howard University Engineering <address@hidden> >>> >X-X-Sender: pbyles@localhost.localdomain >>> >To: address@hidden >>> >Subject: Re: Howard Univ. >>> >In-Reply-To: ><Pine.LNX.4.44.0205291056050.4534-100000@localhost.localdomain >> > >>> >Message-ID: ><Pine.LNX.4.44.0205291220430.4558-100000@localhost.localdomain> >>> >MIME-Version: 1.0 >>> >Content-Type: TEXT/PLAIN; charset=US-ASCII >>> > >>> >Steve: >>> >let me ammend that last message I ran "ldd $GEMEXE/nmap2" not just >"ldd >>> >$GEMEXE" >>> > >>> >Thanks >>> > >>> >-- >>> >Pavel Byles >>> >Sent using Pine ver. 4.4 >>> >on RedHat Linux 7.3 >>> >http://138.238.177.225 >>> > >>> >>> >************************************************************************ >**** >> < >>> Unidata User Support UCAR Unidata >Program >> < >>> (303)497-8643 P.O. >Box 3000 >> < >>> address@hidden Boulder, >CO 80307 >> < >>> >------------------------------------------------------------------------ >---- >> < >>> Unidata WWW Service >http://www.unidata.ucar.edu/ >> < >>> >************************************************************************ >**** >> < >>> >> >>-- >>Pavel Byles >>Sent using Pine ver. 4.4 >>on RedHat Linux 7.3 >>http://138.238.177.225 >> > >************************************************************************ >**** < >Unidata User Support UCAR Unidata >Program < >(303)497-8643 P.O. Box >3000 < >address@hidden Boulder, CO >80307 < >------------------------------------------------------------------------ >---- < >Unidata WWW Service http://www.unidata.ucar.edu/ >< >************************************************************************ >**** < > **************************************************************************** < Unidata User Support UCAR Unidata Program < (303)497-8643 P.O. Box 3000 < address@hidden Boulder, CO 80307 < ---------------------------------------------------------------------------- < Unidata WWW Service http://www.unidata.ucar.edu/ < **************************************************************************** <