哪位在VM中安装过RAC,请教个xhos的问题

[复制链接]
查看11 | 回复1 | 2008-6-29 01:15:00 | 显示全部楼层 |阅读模式
在VM中安装Oracle 集群件时,执行到rac1-> /u01/staging/clusterware/runInstaller时,就会出现下面图片中的问题,是DNS的问题,但是我不知道如何解决,哪位能提供个线索,我vm中的操作系统是redhat4,一个ip是:192.168.0.141,另一个是:192.168.0.142,当时没配置DNS,谢谢了

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-06-29_01-16-22AM. Please wait ...
DISPLAY not set. Please set the DISPLAY and try again.
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.
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
[ 本帖最后由 kong_go 于 2008-6-29 01:20 编辑 ]
回复

使用道具 举报

千问 | 2008-6-29 01:15:00 | 显示全部楼层
解决了,用root 执行一下 xhost + 就好了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行