IBM Support

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window

Troubleshooting


Problem

This technote explains why the error []Exception in thread "main" java.lang.InternalError: Can't connect to X11 window...server using ':0.0' as the value of the DISPLAY variable[] might occur when using IBM® Rational® ClearCase® to setup Secure Sockets Layer (SSL) with Rational WEB Platform (RWP).

Symptom

Attempts to set up SSL with RWP and running ./ikeyman results in the following error:


host1% pwd
/opt/rational/common/rwp/IHS/bin

host1% ./ikeyman
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window
server using ':0.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:1
34)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi
ronment.java:62)
        at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:81)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at java.awt.Toolkit$2.run(Toolkit.java:748)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
        at com.ibm.gsk.ikeyman.Ikeyman.<clinit>(Ikeyman.java:115)

Review the IBM Rational ClearCase Command Reference on the topic of Configuring RWP to use secure sockets for more information.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Rational Web Platform (RWP)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"7.0;7.0.0.1;7.0.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

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.

Document Information

Modified date:
16 June 2018

UID

swg21279197