Advanced Security

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Advanced Security

  • Creator
    Topic
  • #52101
    Mike Campbell
    Participant

      We are on CL 5.7, with the patch-2 installed in test and ready to go to production.  We are trying to get the Global Monitor set up to turn some monitoring over to operations.  

      When I go to our AIX server and issue the hcicertmgr command:

      /quovadx/qdx5.7/integrator/clgui/bin $ hcicertmgr

      java.awt.HeadlessException:

      No X11 DISPLAY variable was set, but this program performed an operation which requires it.

             at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:175)

             at java.awt.Window.(Window.java:419)

             at java.awt.Frame.(Frame.java:414)

             at java.awt.Frame.(Frame.java:379)

             at javax.swing.JFrame.(JFrame.java:175)

             at com.hie.util.gui.StdHieContainerFrame.(Unknown Source)

             at com.hie.cloverleaf.gui.StdCloverleafContainerFrame.(Unknown Source)

             at com.hie.cloverleaf.gui.StdGuiApplication.(Unknown Source)

             at com.hie.cloverleaf.gui.security.certificatemgr.CertifMgrApplication.main(Unknown Source)

      Is there some Java fix we need, or has anyone else seen these issues?

      Thanks.

      Mike Campbell

    Viewing 2 reply threads
    • Author
      Replies
      • #73079
        David Barr
        Participant

          I think hcicertmgr is a GUI program, so you need an X server to run it.  Either Cygwin or Linux’s Xorg X server or Exceed should work. You also need your DISPLAY variable to be set.

        • #73080
          Mike Campbell
          Participant

            I tried using the GUI to execute the hci command but got the same errors. I’ll keep checking on the X-server with our AIX administrator.

            Thanks for the reply.

          • #73081
            Greg Eriksen
            Participant

              I don’t know how helpful this will be for your issue, but several years back one of our AIX administrators came up with this solution for automatically setting our DISPLAY variable to each users local ip address.

              In our hci user “.profile.local.end” file we added:

              Code:


              # Set the DISPLAY variable
              # Note: this assumes you are connected from a graphics display.  Any application
              # that uses this variable may fail if you are not running X.
              . /usr/local/bin/set.display

              And this is the contents of the set.display script:

              Code:


              export DISPLAY=`who -m | awk ‘ { print $6 }’ | cut -f 2 -d’(’ | cut -f 1 -d’)’`:0.0

              So, for instance, when I start up an xterm window (we use ReflectionsX as our emulator software) and login, the variable is automatically set:

              cloprod::hci> echo $DISPLAY

              172.21.2.177:0.0

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.