cancel
Showing results for 
Search instead for 
Did you mean: 

xhost +: unable to display

Former Member
0 Kudos

Dear Linux and SAP Expert:

I am facing a problem, I want to install Oracle 9i on SUSE Linux, I need to use ora<sid> to install it, but when I use xhost +, i am prompted "xhost +: unable to display"

I have already set the followings:

setenv DISPLAY <my hostname>:0.0

xclock is also unable to display.

What can I do???How can I solve this problem?

Really really thanks for your all reply

Hisashi Glay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You have to execute "xhost +" on the Target-Server of your exported DISPLAY (<my hostname>) with the user, who started the xserver.

Regards

Sascha

Answers (1)

Answers (1)

Former Member
0 Kudos

Do following from root user:

Check java from <jre>/bin directory

./java -version

set PATH for java

export PATH=$PATH:<path for jre folder>/bin

then

try

java -version

Set JAVA_HOME

Set DISPLAY variabel

DISPLAY=:0 export DISPLAY

Now, try to run xclock and xhost

Award points if it is helpful.