Technical article 105194

scoadmin fails: "Cannot open display: Fatal error: Couldn't open write pipe".

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

When I try to start scoadmin(ADM), or one of the submenus like
custom or netconfig on a text screen, these errors occur:

Cannot open display: <hostname:0.0> Fatal error: Couldn't open write pipe Error information logged to: /tmp/tclerror.nnnnn.log

The display name may be blank or contain garbage.

Cause

Sometimes a temporary resource shortage can cause this error.
If this is the case, scoadmin(ADM) will usually start if you
launch it a second time.  If it fails with the same message a
second time, read the following.
If the DISPLAY variable is set on a text screen, scoadmin(ADM)
 will attempt to display on the xserver.  Since input is coming
 from the text tty, the XOpenDisplay(XS) call will fail.

Solution

Unset the DISPLAY variable with the command:

# unset DISPLAY
The scoadmin(ADM) utility should now start without error.  If
the DISPLAY variable is being set in root's profile(M) or in
/etc/profile, remove the lines that set and export DISPLAY.

From the Xinuos technical article database, record 105194. Reproduced with permission. The original is at www.sco.com/ta/105194, which is reachable but blocked from search engines.

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.