cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Can't connect to X11 window server using '172.16.1.254:0.0'

Former Member
0 Kudos

Dear all,

i am installing sap4.7 in hp-ux, after installing CI, i start DI, in 17 th step it asking to install oracle by executing RUNINSTALLER.....just i open new termenal (xshell) with orasid user i executed RUNINSTALLER but after some time it will show like this---- 172.16.1.254 is my local machine 80.0.0.151 is server

.....................................................................................................................................................................................................................................................................................................................................................................................................................

/oracle/stage/920_64/Disk1/SAP/SVRCUSTOM.RSP --> /tmp/.orainst_rsp.8848: Done

Initializing Java Virtual Machine from ../../stage/Components/oracle.swd.jre/1.3.1.0.0a/1/DataFiles/Expanded/bin/java. Please wait...

$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '172.16.1.254:0.0' as the value of the DISPLAY variable.

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

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

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

at java.lang.Class.forName(Unknown Source)

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

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

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

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

at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)

at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)

at oracle.sysman.oii.oiif.oiifm.OiifmMainFrame.<init>(OiifmMainFrame.java:296)

at oracle.sysman.oii.oiic.OiicInstaller.<init>(OiicInstaller.java:231)

at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:599)

How to resolve this issue, what is the problem.

Regards,

satish-k

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

You have to use "xhost +" as the user you logged on to the console, then try again.

Markus

Former Member
0 Kudos

Dear Markus,

Thanks for reply, i did't understand your ANS. please...

Regards,

satish

Former Member
0 Kudos

Dear Markus,

i root if i execute xhost +

it's says

xhost : Unable to open display "172.16.1.254:0.0"

Regards,

satish

markus_doehr2
Active Contributor
0 Kudos

If you logon to the console with a user, only that user is permitted to "send" the display to the screen. If you do an "su - ora<sid>" that user must be enable to do so too.

- logon as root

- open a terminal windows (a new one)

- execute "xhost +"

- use another terminal window

- execute "su - ora<sid>"

- execute "setenv DISPLAY <ip>:<port>"

- then execute ./RUNINSTALLER in the SAP subdirectory of Disk1 (NOT runInstaller)

Markus

Answers (0)