Can't connect to X11 window server using 'localhost:0.0'
Hi:
I have an intel i7 with windows7 64b , then install VMware Workstation and create a machine with Oracle enterprise Linux 64b 5update4, now i want to inatall oracle db10gR2, but this message apears [oracle@localhost database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using 'localhost:0.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) I allready did try with xhost + with root but does not work, i thanks someone help RES |
RE:
Maybe you could try:
# su - oracle $ export DISPLAY=127.0.0.1:0.0 $ xhost + $./runInstaller I know you said you tried it as root, but I'm not sure if you've tried it as your oracle user. Hopefully that will make a difference for you. |
Using “127.0.0.1:0.0” (or anything with an IP address) may be interpreted as an attempt to access X via the IP stack in TCP protocol. You X server is probably running with the “-nolisten tcp” option. Try using “:0.0” as the DISPLAY value instead, which should use Unix sockets instead.
Yves. |
login to the oracle usr with GUI and the install oracle with GUI
because Oracle 10 G support installation through GUI. |
Quote:
[root@localhost ~]# xclock [root@localhost ~]# su - oracle [oracle@localhost ~]$ export DISPLAY=127.0.0.1:0.0 [oracle@localhost ~]$ xhost + xhost: unable to open display "127.0.0.1:0.0" [oracle@localhost ~]$ |
Quote:
|
Quote:
|
I think the “xhost +” command should be run beforehand as the user running the X server.
Yves. |
Ok, finylly i did this
su - oracle export DISPLAY=0.0 sh runinstaller and it works, thank u, for all the tips |
All times are GMT -5. The time now is 01:05 AM. |