Software Distributor Administration Guide for HP-UX 11i

Troubleshooting
Common Problems
Appendix B 467
GUI Won’t Start or Missing Support Files
You can start the GUI in these ways:
For swinstall, swcopy, or swremove, type the command with no
additional options or arguments.
•Include the -i option with any other options and arguments when
you type the command on the command line. (Required for swlist.)
For the Job Browser, type sd on the command line.
When using the GUI, you might encounter these problems:
Can’t open the display or display is set incorrectly
Missing GUI support files
Resolution If you have invoked the GUI on a remote system, you may see the
following error messages:
Xlib: connection to <display> refused by server
Xlib: Client is not authorized to connect to Server
Error: Can’t Open display.
Check that you have set the $DISPLAY environment variable correctly on
the remote system to identify your display. If it is correct, you may have
to enable the remote host to make connections to your X server via the
xhost(1) command or by modifying your /etc/X*.hosts file.
If you see the error message:
swinstall: Error: cannot read file:
/usr/lib/sw/ui/smc_install_copy.ui
or
swremove: Error: cannot read file:
/usr/lib/sw/ui/smc_remove.ui
the system is telling you that the file
/usr/lib/sw/ui/smc_install_copy.ui must be installed on the
system to run either swinstall or swcopy interactively or that the
/usr/lib/sw/ui/smc_remove.ui file must be installed to run
swremove. Make sure that the directory /usr/lib/sw/ui exists and
includes the requested file. If the file does not exist, you must reinstall
the SD-CMDS fileset from your OS media.