Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with start configtool

Hello colleagues,

When try up configtool i have this error,

lgeepgd0:pgdadm 112> ./configtool.sh

X11 connection rejected because of wrong authentication.

java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:331)

        at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

Caused by: java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.

        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)

        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:147)

        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:63)

        at java.awt.Window.init(Window.java:231)

        at java.awt.Window.<init>(Window.java:275)

        at java.awt.Frame.<init>(Frame.java:401)

        at javax.swing.JFrame.<init>(JFrame.java:193)

        at com.sap.engine.configtool.visual.ConfigToolView.<init>(ConfigToolView.java:82)

        at com.sap.engine.configtool.visual.ConfigTool.<init>(ConfigTool.java:111)

        at com.sap.engine.configtool.visual.ConfigTool.main(ConfigTool.java:1176)

        ... 5 more

Thanks.

Former Member
replied

Have you set the DISPLAY variable?

What is the output of xclock?

Install VNCServer on the machine and start it.

Connect to the server using VNCViewer and set the DISPLAY variable.

Run xclock and check the output.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question