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 DISPLAYThe 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.