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!

Issuing "export DISPLAY=:0.0" works but issuing "xhost +" doesn't work

581022Jul 9 2007 — edited Jul 10 2007
Hello

When preparing to install Oracle onto Linux

I login as linusr
I su the root
Then I su - oracle (as the user) and I enter:
cd /oradisks/Disk1
next I enter "./runInstaller" but get an error that I can't connect to "X"

Therefore as oracle (as user) I enter:
export DISPLAY=:0.0
this command worked

Next I su - linusr and I enter:
xhost +
This "xhost +" command gives me the error again:

Xlib: connection to ":0.0" refused by server
Xlib: no protocol specified
xhost: unable to open display ":0.0"

Since I boot up as "X" why do I get those 3 errors messages?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2007
Added on Jul 9 2007
3 comments
1,958 views