8-bit color in Tiger X11 and Snow Leopard X11
8-bit color in Tiger X11 and Snow Leopard X11
- Subject: 8-bit color in Tiger X11 and Snow Leopard X11
- From: Philip Dennison <email@hidden>
- Date: Thu, 06 May 2010 12:27:20 -0700
Dear all,
I would like to be able to reproduce the color/window handling that I
get with the Tiger X11 in the latest XQuartz.
I run a facility with several SGI O2 computers, which my users access
remotely using X11. Their main need is to run a program called XwinNMR,
for manipulation of nuclear magnetic resonance data. This program will
only run in 8-bit color mode. Remote access to SGI Irix is very user
friendly, as anything can be accessed via the floating Toolchest, which
can be run remotely.
There is a difference in the way that colors are allocated between the
generations of X11.
If X11 is not set to output 256 colors, the following error appears:
CPR : Path to prog : "/u/prog"
CPR : Path to exp : "/u/exp"
CPR : Path to conf : "/u/conf"
CPR : waiting for FLEXlm license
CPR : Your FLEXlm license is valid until 22-jun-2020
Xcpu: Cannot get visual class PseudoColor
Please configure your X-Server to
PseudoColor and 8 bit per plane
Graphics restart after normal error in Xlib
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 1 (X_CreateWindow)
Serial number of failed request: 478
Current serial number in output stream: 486
Program is exiting...
Hit ENTER to continue ...
With both X11 and XQuartz I can start a Toolchest and run the XwinNMR
program, but color handling is different. X11 reproduces colors pretty
much as they appear natively under Irix, particularly shades of grey for
menus and buttons. I can also run other aspects of the GUI from the
Toolchest, such as opening a GUI window to list files etc. I have
attached a screen shot as 'TigerX11.png'.
XQuartz displays somewhat differently. It appears that shades of grey
are shown as either black or white, within the XWinNMR window. This is
shown by the screenshot 'XQuartz.png'.
If I try and open a GUI filer window from the Toolchest using XQuartz, I
get the following sequence of error messages:
psqe 2% Warning: Cannot allocate colormap entry for "#87aaca"
Warning:
Cannot allocate colormap entry for default background
Warning: Cannot allocate colormap entry for "#90abb1"
Warning: Cannot allocate colormap entry for "#d3b5b5"
Warning: Cannot convert string
"-*-screen-medium-r-normal--15-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot allocate colormap entry for "#e6e6e6"
Warning: Cannot allocate colormap entry for "#9fbfbf"
Warning: Cannot allocate colormap entry for "#cbcbcb"
Warning: Cannot allocate colormap entry for "#210030"
Warning: Can't convert a String to a Pixel
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 131 (XINERAMA)
Minor opcode of failed request: 1 (XINERAMAGetState)
Resource id in failed request: 0xe3010000
Serial number of failed request: 731
Current serial number in output stream: 731
and the window does not appear.
I think these problems have been present in all post-Tiger X11 versions,
but mostly I have been supporting Macs running Tiger. Now I have a
couple of Snow Leopard machines, and more of my users do also. So I
would like to find a work-around, if possible. The lack of the GUI filer
window is not a huge problem, but most of my users are happier with a
GUI than a unix shell. I thought the error messages might be useful though.
I am more interested in the display of shades of grey in the XwiNMR
program, as some menus currently appear completely black.
Sorry it's been so long, thanks for reading!
Phil.
--
Dr Phil Dennison
NMR Facility Director (949)824-6010 (office)
Department of Chemistry (949)824-5649 (lab)
University of California (949)824-8571 (fax)
Irvine, CA 92697-2025 email@hidden
USA
Attachment:
TigerX11.png
Description: PNG image
Attachment:
XQuartz.png
Description: PNG image
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden