Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

unable to open display localhost:0.0 in VMware RedHat linux machine

178210Jan 5 2007 — edited Feb 28 2007
I have been trying to Install Oracle 10g RAC in VMware linux virtual machine.

my virtual machines are running properly and I am able to use RSH & SSH.

when I run runInstaller it is not comming up due to DISPLAY environmental variable setup.

I have set the varable as follows
DISPLAY=localhost:0.0; export DISPLAY

then if i execute xhost + it gives the following error
"xhost: unable to open display localhost:0.0"

I have tried with ipaddress instead of localhost. Eventhen it is giving the same error

What is the problem? How I can solve the issue?

Comments

Terry.Liu-Oracle
Hi,
You can try to set as followed:
DISPLAY=.:0.0; export DISPLAY
346818
You need to open another telnet window as root and run: xhost +

This will allow non-root users to execute the x-windows
564339
i had the same issue. running the xhost + as root fixed the issue, but only after i switched to root using 'su -' instead of just 'su' (likely something in the profile scripts that get run when you use the '-' (dash) versus just using 'su'.
after running the xhost +, i was able to (as oracle) do:

export DISPLAY=:0.0
./runInstaller

And good to go.
495848
If I have to install Oracle from console or VMWare environment I never setup DISPLAY.

just ...
root@server# xhost +
root@server@ su - oracle
oracle@server# ./runInstaller

That's it.
1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 28 2007
Added on Jan 5 2007
4 comments
6,584 views