4 Replies Latest reply: Jan 6, 2014 4:56 PM by Deeraj Shetty RSS

Can't connect to X11 window server with DISPLAY variable's value

Suresh Chandranath
Currently Being Moderated

Dear Experts,

 

While starting the startInstGui.sh I am getting the following error. I am doing the installation local installation from Root user of linux.

 

I have tried various option for display but I am getting the same error i.e. "Can't connect to X11 wi ndow server using '172.16.67.57:0.0' as the value of the DISPLAY variable".

 

Please suggest ASAP.

 

============startInstGui.sh output (error log)==========

 

./startInstGui.sh

  Java Runtime found in SAPINST_JRE_HOME environment variable

  Path: /usr/j2sdk1.4.2_16/bin/java

 

Start mode: gui (GUI only)

Connection parameters:

  GUIServer host: localhost

  GUIServer port: 21212

Starting...

java.lang.reflect.InvocationTargetException

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

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

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

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

        at com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:82)

        at com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:107)

        at SDTGui.main(SDTGui.java:46)

Caused by: java.lang.InternalError: Can't connect to X11 window server using '17 2.16.67.57: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 java.awt.Font.initializeFont(Font.java:308)

        at java.awt.Font.<init>(Font.java:353)

        at java.awt.Font.createFont(Font.java:628)

        at com.sap.sdt.gui.core.settings.GuiSettings.createSAPFonts(GuiSettings. java:394)

        at com.sap.sdt.gui.core.settings.GuiSettings.<init>(GuiSettings.java:97)

        at com.sap.sdt.gui.core.settings.GuiSettings.<clinit>(GuiSettings.java:8 6)

        at com.sap.sdt.gui.core.SDTGui.initStdOutErr(SDTGui.java:244)

        at com.sap.sdt.gui.core.SDTGui.start(SDTGui.java:149)

        at com.sap.sdt.gui.core.SDTGui.main(SDTGui.java:87)

        ... 7 more

java.lang.InternalError: Can't connect to X11 window server using '172.16.67.57: 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 java.awt.Font.initializeFont(Font.java:308)

        at java.awt.Font.<init>(Font.java:353)

        at java.awt.Font.createFont(Font.java:628)

        at com.sap.sdt.gui.core.settings.GuiSettings.createSAPFonts(GuiSettings. java:394)

        at com.sap.sdt.gui.core.settings.GuiSettings.<init>(GuiSettings.java:97)

        at com.sap.sdt.gui.core.settings.GuiSettings.<clinit>(GuiSettings.java:8 6)

        at com.sap.sdt.gui.core.SDTGui.initStdOutErr(SDTGui.java:244)

        at com.sap.sdt.gui.core.SDTGui.start(SDTGui.java:149)

        at com.sap.sdt.gui.core.SDTGui.main(SDTGui.java:87)

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

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

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

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

        at com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:82)

        at com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:107)

        at SDTGui.main(SDTGui.java:46)

error in:

Class   : com.sap.sdt.gui.core.SDTGui

Name    : main

Static  : true

class [Ljava.lang.String; - [Ljava.lang.String;@b166b5

 

java.lang.RuntimeException: invocation target exception: Can't connect to X11 wi ndow server using '172.16.67.57:0.0' as the value of the DISPLAY variable.

        at com.sap.sdt.util.misc.MethodCall.invoke(MethodCall.java:110)

        at com.sap.sdt.util.misc.BootStrapper.start(BootStrapper.java:107)

        at SDTGui.main(SDTGui.java:46)

==========================================

 

SAP Software - NW 2004s SR1

DB - ORACLE 10G

OS - Red Hat Enterprise Linux AS release 4(Nahant Update 4)

OS Kernel - 2.6.9 - 42.EL

 

Edited by: TP Suresh on Dec 24, 2007 12:27 PM

Actions