Skip to Content
author's profile photo Former Member
Former Member

xhost +: unable to display

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2007 at 05:26 PM

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

    Regards

    Sascha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 27, 2007 at 05:52 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.