on 12-24-2007 11:26 AM
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
- did you logon as user root or did you "su - root"?
- is an X-Server running on the given IP?
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We had the same problem. We find out that due to a network upgrade, the access list was modified and we couldn't , and the Xserver coulnd not be started from the connecting machine.
The problem was solved by opening a session ssh tunnel ( screen shot of putty to establish a ssh tunnel to a given server)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
my problem with "Can't connect to X11 window server with DISPLAY variable's" resolve for zone solaris delete paramer process.max-file-descriptor in /etc/project for user roor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Make sure that you're log on to X using root user.
set DISPLAY variable using this command :
#DISPLAY=:0.0
#export DISPLAY
to check if your DISPLAY variable was configured well, just type this command :
#xclock
If this command show you an X clock program, then you can continue your ./sapinst.sh
award point if it help you.
ardhian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.