在Redhat linux7下安装oracle数据库在./runinstall时老是提示Can't connect to X11 window server。。。

Can't connect to X11 window server using '192.168.88.61:0.0' as the value of the DISPLAY variable.
192.168.88.61:0.0
192.168.88.61:0.0
OUI-10025:Unable to start an interactive install session because of the following error:Can't connect to X11 window server 

using '192.168.88.61:0.0' as the value of the DISPLAY variable. The DISPLAY environment variable should be set to

or IP address>:, where the is usually '0.0'.
OUI-10026:Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment 

variable:
- For csh: % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
OUI-10027:To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the 

session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating 

system such as 'xclock':
%
If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.

 

Typical path for 'xclock': '/usr/X11R6/bin/xclock'

 

 

 

首先以root用户执行:xhost +IP(本机ip)然后以oracle用户执行export DISPLAY=IP:0.0(上述ip)最后再做./runinstall发现卡在java155那里,查找资料发现重启直接用oracle用户登录系统,在执行runinstaller后可以进行安装。

 

 

 

你可能感兴趣的:(数据库)