码迷,mamicode.com
首页 > 其他好文 > 详细

EBS运行快速安装的程序时,提示DISPLAY变量设置不对

时间:2015-11-20 10:27:48      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:

EBS运行快速安装的程序时,系统提示如下:

Rapid Install Wizard is validating your file system......

         >> Wizard requires the DISPLAY variable to be set.
         >> Please set your DISPLAY variable and restart Rapid Install Wizard.

在主机进行以下设置后,尝试重新运行仍旧报错:

$ export DISPLAY=IP:0.0
$ ./rapidwiz 


Rapid Install Wizard is validating your file system......
CMDDIR=/app/Stage122/startCD/Disk1/rapidwiz
Rapid Install Wizard will now launch the Java Interface.....

$ Exception in thread "main" java.lang.InternalError: Cant connect to X11 window server using xxx.xxx.xxx.xxx:0.0 as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.access$100(Unknown Source)
        at sun.awt.X11GraphicsEnvironment$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(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 java.awt.Frame.<init>(Unknown Source)
        at oracle.ewt.popup.PopupFrame.<init>(Unknown Source)
        at oracle.ewt.lwAWT.BufferedFrame.<init>(Unknown Source)
        at oracle.apps.ad.rapidwiz.RIWizard.main(RIWizard.java:1597)
$

继续修改DISPLAY设置:

$ export DISPLAY=:0.0

再次尝试安装成功。

 

如果是KSH:

setenv DISPLAY :0.0

 

EBS运行快速安装的程序时,提示DISPLAY变量设置不对

标签:

原文地址:http://www.cnblogs.com/abclife/p/4979804.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!