Troubleshooting
Problem
When tried to start Connect:Direct Secure+ Admin Tool for the first time installing, executing spadmin.sh returned the below Java exception message.
WARNING: Do NOT terminate this shell - Use File->Exit from Secure+ Admin Tool. Exception in thread "main" 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:217)
at java.awt.Window.<init>(Window.java:547)
at java.awt.Frame.<init>(Frame.java:431)
at java.awt.Frame.<init>(Frame.java:396)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1849)
at javax.swing.JDialog.<init>(JDialog.java:283)
at com.stercomm.csg.SPAdmin.HelpAboutDlg.<init>(HelpAboutDlg.java:114)
at com.stercomm.csg.SPAdmin.SPAdmin.main(SPAdmin.java:1897)
Symptom
Executing spadmin.sh returned the below Java exception message.
WARNING: Do NOT terminate this shell - Use File->Exit from Secure+ Admin Tool. Exception in thread "main" 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:217)
at java.awt.Window.<init>(Window.java:547)
at java.awt.Frame.<init>(Frame.java:431)
at java.awt.Frame.<init>(Frame.java:396)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1849)
at javax.swing.JDialog.<init>(JDialog.java:283)
at com.stercomm.csg.SPAdmin.HelpAboutDlg.<init>(HelpAboutDlg.java:114)
at com.stercomm.csg.SPAdmin.SPAdmin.main(SPAdmin.java:1897)
Document Location
Worldwide
[{"Type":"SW","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSKTYY","label":"IBM Sterling Connect:Direct for UNIX"},"ARM Category":[{"code":"a8m0z000000cwUtAAI","label":"SECURE+"}],"ARM Case Number":"TS005651875","Platform":[{"code":"PF061","label":"UNIX"}],"Version":"All Version(s)"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
17 May 2021
UID
ibm16453977