Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why are the colors of a SHAREd application appear different on the remote side(s)?

0
Posted

Why are the colors of a SHAREd application appear different on the remote side(s)?

0

When the remote side(s) experience(s) incorrect colors, it is due to the way that the X-window system handles colormaps. Client applications simply request a color index number from the server rather than an actual color (i.e. color #10. For remote servers, there is no way to guarantee that color #10 is the color the application needs because the server set up the colors on the local side only. There are, however several options that may allow you to work around this. If your application provides an Xresource or command line option to force it into using a private color map, do so. Running in a private colormap will correct the color-indexing problem because it will rely on internal colors rather than the default X colormap. Some applications can’t be “forced” into using a private colormap, but will do so when not enough colors are available. In this case you can run an external program to allocate all the extra colors before running the application. This will then cause a private colo

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123