Errors got:-
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-05-25_02-29-56AM. Please wait ...[oracle@localhost database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '192.168.159.130:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.(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.(Unknown Source)
at java.awt.Frame.(Unknown Source)
at oracle.ewt.popup.PopupFrame.(Unknown Source)
at oracle.ewt.lwAWT.BufferedFrame.(Unknown Source)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.(OiocOneClickInstaller.java:378)
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)
While working on the graphical console, then you must set DISPLAY as follows:
# export DISPLAY = xx.xx.xx.xx:0.0
or just for console based where OS supported it
login as root
[root@localhost database]# xhost +
access control disabled, clients can connect from any host // This will allow any one can connect
[root@localhost database]#
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-05-25_02-29-56AM. Please wait ...[oracle@localhost database]$ Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using '192.168.159.130:0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.
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.
at java.awt.Frame.
at oracle.ewt.popup.PopupFrame.
at oracle.ewt.lwAWT.BufferedFrame.
at oracle.sysman.oio.oioc.OiocOneClickInstaller.
at oracle.sysman.oio.oioc.OiocOneClickInstaller.main(OiocOneClickInstaller.java:2091)
OR
[root@localhost bin]# xhost + 192.168.159.130
xhost: unable to open display "192.168.159.130:0.0"
Solution:-
While working on the graphical console, then you must set DISPLAY as follows:
# export DISPLAY = xx.xx.xx.xx:0.0
or just for console based where OS supported it
login as root
[root@localhost database]# xhost +
access control disabled, clients can connect from any host // This will allow any one can connect
[root@localhost database]#
Now login as oracle user
# export DISPLAY = :0.0
No comments:
Post a Comment