devdept
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
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
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.X11GraphicsEnviron ment.initD isplay(Nat ive Method)
at sun.awt.X11GraphicsEnviron ment.<clin it>(Unknow n Source)
at java.lang.Class.forName0(N ative Method)
at java.lang.Class.forName(Un known Source)
at java.awt.GraphicsEnvironme nt.getLoca lGraphicsE nvironment (Unknown Source)
at java.awt.Window.init(Unkno wn Source)
at java.awt.Window.<init>(Unk nown Source)
at java.awt.Frame.<init>(Unkn own Source)
at oracle.ewt.popup.PopupFram e.<init>(U nknown Source)
at oracle.ewt.lwAWT.BufferedF rame.<init >(Unknown Source)
at oracle.sysman.oio.oioc.Oio cOneClickI nstaller.< init>(Oioc OneClickIn staller.ja va:378)
at oracle.sysman.oio.oioc.Oio cOneClickI nstaller.m ain(OiocOn eClickInst aller.java :2091)
any more suggestions.
Regards,
MAS
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.X11GraphicsEnviron
at sun.awt.X11GraphicsEnviron
at java.lang.Class.forName0(N
at java.lang.Class.forName(Un
at java.awt.GraphicsEnvironme
at java.awt.Window.init(Unkno
at java.awt.Window.<init>(Unk
at java.awt.Frame.<init>(Unkn
at oracle.ewt.popup.PopupFram
at oracle.ewt.lwAWT.BufferedF
at oracle.sysman.oio.oioc.Oio
at oracle.sysman.oio.oioc.Oio
any more suggestions.
Regards,
MAS
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi chingmd:
Thanks for reply.
I am suing network type BRIDGED in VMWARE
regards,
MAS
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?
What host and OS are you trying to display the output to?
ASKER
Dear Admin,
pls close this question as it didnt help to fix my problem
pls close this question as it didnt help to fix my problem
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.