1833829 Members
2409 Online
110063 Solutions
New Discussion

Re: Bastille problems

 
Matt Rieman
Contributor

Bastille problems

Hi,

I recently installed Perl and Bastille on my HP-UX 11.00 system. When I try to run the initial bastille command I get the following error:

NOTE: $DISPLAY not set. Attempting Curses interface.

NOTE: Using Curses user interface module.
NOTE: Only displaying questions relevant to the current configuration.

ERROR: Could not load the 'Curses.pm' interface module.
This may be due to an invalid $DISPLAY setting,
or the module not being visible to Perl.

What is the correct DISPLAY environment variable, and how dow I set it?

Thanks,

Matt
1 REPLY 1
Bill Hassell
Honored Contributor

Re: Bastille problems

DISPLAY should be set prior to running any Xwindow application. Set it equal to your computer's name (or IP address) and append :0.0 onto the end. For a computer name bill, do this:

export DISPLAY=bill:0.0

Note that this must be the name of the computer that is displaying the information. So if you are on a PC running an Xwindow emulator, you must use the name/IPaddress of the PC.

If you do not have any Xwindow capability, the value for $TERM must be set to a known value thatr matches the terminal you are using. Have HP-UX do it for you:

eval $(ttytype -s)


Bill Hassell, sysadmin