标签:
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: Can‘t 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
标签:
原文地址:http://www.cnblogs.com/abclife/p/4979804.html