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.
Pavel, As suspected, your X server has a default visual of True color/24 bits: > 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 You need to set up your server to use an 7 bit default visual. Seee the man page for X (Xsun) and if necessary, use the "defdepth 8" addition to the Xservers configuration I mentioned previously. Steve Chiswell Unidata User Support >From: Pavel Byles-Howard University Engineering <address@hidden> >Organization: UCAR/Unidata >Keywords: 200205301433.g4UEX2p24769 >This is the output from the xdpyinfo. > >ldm% xdpyinfo >name of display: :0.0 >version number: 11.0 >vendor string: Sun Microsystems, Inc. >vendor release number: 3610 >maximum request size: 262140 bytes >motion buffer size: 256 >bitmap unit, bit order, padding: 32, MSBFirst, 32 >image byte order: MSBFirst >number of supported pixmap formats: 4 >supported pixmap formats: > depth 1, bits_per_pixel 1, scanline_pad 32 > depth 8, bits_per_pixel 8, scanline_pad 32 > depth 16, bits_per_pixel 16, scanline_pad 32 > depth 24, bits_per_pixel 32, scanline_pad 32 >keycode range: minimum 8, maximum 132 >focus: window 0x4c00009, revert to PointerRoot >number of extensions: 22 > AccessX > Adobe-DPS-Extension > DCShare > DOUBLE-BUFFER > DPSExtension > GLX > MIT-SCREEN-SAVER > MIT-SHM > MIT-SUNDRY-NONSTANDARD > Multi-Buffering > SHAPE > SUN_ALLPLANES > SUN_DGA > SUN_OVL > SUN_SME > SYNC > SolarisIA > XC-MISC > XIE > XInputDeviceEvents > XInputExtension > XTEST >default screen number: 0 >number of screens: 1 > >screen #0: > dimensions: 1152x900 pixels (325x254 millimeters) > resolution: 90x90 dots per inch > depths (2): 1, 24 > root window id: 0x25 > depth of root window: 24 planes > number of colormaps: minimum 1, maximum 1 > default colormap: 0x21 > default number of colormap cells: 256 > preallocated pixels: black 0, white 16777215 > options: backing-store YES, save-unders YES > largest cursor: unlimited > current input event mask: 0x38003f > KeyPressMask KeyReleaseMask ButtonPressMask > > ButtonReleaseMask EnterWindowMask LeaveWindowMask > > SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask > > 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 > >______________________________________________________________________ >-- >Pavel Byles >Sent using Pine ver. 4.4 >on RedHat Linux 7.3 >http://138.238.177.225 >