Technical article 105793

I'm unable to use scopaint, getting "(null)" output or a blank client.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4

Written · Last revised

Problem

I am unable to run or use scopaint. If it is run manually from an "xterm" or "scoterm" this message is displayed to stdout:

"(null)"

Or, if scopaint is run with the scopaint icon from the Accessories folder, a blank client is displayed with an "OK" widget.

Cause

The display environment is not set properly.

Or, the color palette is greater than 256 colors.

Solution

Run the following to check the current display setting:

echo $DISPLAY

Check the number of colors set for X sessions by running "mkdev graphics".

Scopaint will only run and display if the number of colors set for an X session is 256 or less.

See also

man mkdev(AMD) graphics, scopaint(XC)

From the Xinuos technical article database, record 105793. Reproduced with permission. The original is at www.sco.com/ta/105793, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.