Link to home
Create AccountLog in
Avatar of devdept
devdeptFlag for Saudi Arabia

asked on

xhost: unable to display "test:1.0"

hi,
I am installing oracle 10.2g with OS Linux 4 on VMware 5.  while installation to use xhost I have setup display as below :

DISPLAY=test:1.0
export DISPLAY

After this when i start installer ./runInstaller it show error message :  Cant' connect to X11 window server using test:1.0 as the value of DISPLAY variable.

any suggestion is appreciated.

REgards,

M Abdussami
Avatar of chingmd
chingmd

First make sure that test can be resolved.   ping test.   Does it return the right address?

Also, even though you are in a vmware session, that doesn't mean you are using a non console head number.

You might try one of the following:

export DISPLAY=test:0
 
or
 use /sbin/ifconfig  (in the VM)  take the IP.

export DISPLAY=192.168.235.55:0


I believe the problem resides in the DISPLAY setting.    Also VMWare also uses some difference types of IP schemes.   Indicating whether you are using bridged, NAT, or Host only will be a big help.
Avatar of devdept

ASKER

hi chingmd:

I tried with suggested solutions but still same error  as below:

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '192.168.1.104:0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
        at java.awt.Window.init(Unknown Source)
        at java.awt.Window.<init>(Unknown Source)
        at java.awt.Frame.<init>(Unknown Source)
        at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
        at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.<init>(OiocOneClickInstaller.java:378)
        at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)


any more suggestions.

Regards,

MAS
ASKER CERTIFIED SOLUTION
Avatar of chingmd
chingmd

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of devdept

ASKER

hi chingmd:

Thanks for reply.
I am suing network type  BRIDGED in VMWARE

regards,

MAS
OK...  So the host of the VM should be getting it's own IP address.

What host and OS are you trying to display the output to?  



Avatar of devdept

ASKER

Dear Admin,
pls close this question as it didnt help to fix my problem