Problem: Faulty Colors on Solaris 2.5.1 Port of SunOS 4.1.3_U1 App

Problem: Faulty Colors on Solaris 2.5.1 Port of SunOS 4.1.3_U1 App

Post by John Michael Davis » Thu, 01 May 1997 04:00:00

        I'm having a color problem in an X application after having ported it
from SunOS 4.1.3_U1 to Solaris 2.5.1, and I'm not sure why.

        The original version of the application uses X11R4 and Motif 1.1.3 and
runs and displays on my workstation (a Sun SPARCstation 20 running X11R5, SunOS
4.1.3_U1 and TriTeal VUE).  The colors show up fine.

        When I build the application on the Solaris machine (an UltraSPARC
running standard SunOS 5.5.1 and CDE) using X11R5 and Motif 1.2.3, run it on
the Solaris machine, and display it on my workstation, some of the colors show
up incorrectly.  Not just shadow colors, but widget backgrounds.  For example,
a background that is supposed to be gray is now purple.

        However, when I build the application on my workstation using X11R6.3
and Motif 1.2.3, run it on my workstation, and display it on my workstation,
the colors show up fine.

        Any idea what is going on here?  There are a number of variables here,
but the weird behavior is coming from the Solaris machine.  I am suspecting
that CDE has something to do with it.

        Any comments would be greatly appreciated.

John Davison


1. Porting socket app SunOS 4.1.3 -> SunOS 5.3 ???

I'm having difficulties on SunOS 5.3 with socket app that works fine on SunOS
4.1.3. The application compiles fine (with some warnings) but no sockets can
be created when the app is run. When I studied the warnings I noticed that
there are differences in SunOS 4.1.3 (== Solaris 1.x ???) and SunOS 5.3 (==
Solaris 2.3) sockets libraries.

Is there any check list for modifications or compatibility library to link
with? I would appreciate any help.


                        address   Merikoskenkatu 9 B 41, 90500 OULU, FINLAND
                        voice     +358-81-537 2470 or +358-81-343 930
Keijo Nikula            fax       +358-81-537 2338

                        x.400     /S=knikula/OU=stekt/O=oulu/ADMD=fumail/C=fi/

2. MagicFilter, Colour Deskjet?

3. SunOS 4.1.3 vs SunOS 4.1.3_U1

4. Linksys EtherPCI LAN Card II

5. SunOS 4.1.3_U1 and Solaris 2.4 on one disk?

6. OptiPlex GMT 5133 ide2 usable?

7. nfs performance SunOS 4.1.3_U1 vs Solaris 2.4

8. Configure Linux as a router

9. Big Disks, NFS, Solaris 2.3 and SunOS 4.1.3_U1

10. Performance: Solaris 2.x vs. SunOS 4.1.3_U1?

11. mount remote DOS disk on solaris 1 (SunOS 4.1.3_U1) ?

12. Problem with X windows on SunOS 4.1.3_U1

13. simple NIS w/ SunOS 4.1.3_U1 problem