Operating System - OpenVMS
1829320 Members
1734 Online
109989 Solutions
New Discussion

Re: X-Windows Color problem

 
郭尚中_1
Valued Contributor

X-Windows Color problem

Hello, all,
Our application server is ES40 (VMS7.2-1). When the application exports its X-windows to a DS15 (VMS7.3-1, with most update patch applied) workstation, the X-windows background color was changed to red from black and so as the font can not be recognized clearly. However, the application works normal when it displays on other workstation (AS500, AS200 running VMS6.2-1, DS10 running VMS7.2-1). The DS15's video adapter is Radon7500).

Does there any solution to let the application displays normally?

DS15 software configuration:
Dec Motif 1.2-6

BTW. The font type is HANZI we used.We

Your comment is very apperciated!
4 REPLIES 4
John Gillings
Honored Contributor

Re: X-Windows Color problem

This may be a difference in the colour depth on your X-Servers. Compare the outputs of DECW$UTILS:XDPYINFO between servers:

$ SET DISPLAY/CREATE
$ SET DISPLAY/NODE=node/TRANS=transport
$ MCR DECW$UTILS:XDPYINFO
$ SET DISPLAY/NODE=newnode/TRANS=transport
$ MCR DECW$UTILS:XDPYINFO
etc...


If the problem node shows a lower pixel depth than the working nodes, then adjust the logical name DECW$SERVER_PIXEL_DEPTH in SYS$STARTUP:DECW$PRIVATE_SERVER_SETUP.COM. For example:

$ DEFINE/SYSTEM/EXEC DECW$SERVER_PIXEL_DEPTH 24

Restart DECwindows to use the new depth:

$ @SYS$STARTUP:DECW$STARTUP RESTART
A crucible of informative mistakes
Rick Retterer
Respected Contributor

Re: X-Windows Color problem

Hi,
Along with defining DECW$SERVER_PIXEL_DEPTH 24

I also recommend that you add this line as well:

$ DECW$SERVER_DEFAULT_VISUAL_CLASS :== 24

REF: Page 4-4 Section 4.4.4 of the Radeon Controller installation Guide.

cheers!

Rick Retterer
- Rick Retterer



郭尚中_1
Valued Contributor

Re: X-Windows Color problem

Hello, All,
Many thanks for your support first!
The problem is still there after modifying the parameters (DECW$SERVER_PIXEL_DEPTH) and DECW$SERVER_DEFAULT_VISUAL_CLASS. Pls see attachment XDPINFO result for DS15 with bad color, DS10 with good color and ES40 application server.


Yours continues support is much appreciated!

Thanks!
Venkat_18
Advisor

Re: X-Windows Color problem

Hi,
Check the color settings(Number of colors) as well. i.e more colors for applications, most colors for application etc.

--Venkat