1833187 Members
2998 Online
110051 Solutions
New Discussion

Xhost

 
SOLVED
Go to solution
Faizer
Advisor

Xhost

I have a HP server running HPUX11.11. Oracle's Business Intelligence requires an X session on the server.
I use xreflection on one of my PC to connect to the HP Unix server using telnet. When I get the connection to the HP server,
Then I set the DISPLAY=aaa.bb.c.d:0.0
Then I do an echo $DISPLAY.
I get the correct display seeting as above.
When I run xhost + I get the following error.
xhost: unable to open display aaa.bb.c.d:0.0

How can this problem be resolved as we need to have an xsession running all the time on the server so that the Oracle Applkication can work.
8 REPLIES 8
Oliver Charni
Trusted Contributor

Re: Xhost

You should add the Server to the "Host Access Control List"(but that's just what it's called in Exceed. Then it should work.
if it smell's funny on the outside, it's worse on the inside
Karthik S S
Honored Contributor
Solution

Re: Xhost

Instead of connecting the server using telnet use telnet with xterm or XDMCP Broadcast.

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Massimo Bianchi
Honored Contributor

Re: Xhost

is it a direct connection or there are firewalls between ?

Usually, with oracle, you must install a virtual frame buffer or vnc, to simulate the graphics card.

Look in this site for "vnc" or "xfb"

HTH,
Massimo


Hazem Mahmoud_3
Respected Contributor

Re: Xhost

The command "xhost +" can only be run from the console. You will not be allowed to run it over a network connection, for obvious security reasons. And generally, it's not good to do "xhost +", but if its a "secure" network, I guess it fine.

-Hazem
I.Delic
Super Advisor

Re: Xhost

Hi Faizer,

Make connection with your unix box
First you have to use this command:
xhost + or xhost +namemachine
With this command you give permission to use your display for output.
Go to the UNIX box en typ
DISPLAY=aaa.bb.c.d:0.0 ( ip adres van je pc)
Go back to your pc and make connection with your unix box.
Typ xload &
You should see xload screen on your pc.

Succes

Idriz
P.S just use linux
You don't have to buy xreflection and it is very easy to use and it works always
Faizer
Advisor

Re: Xhost

I have checked the vnc sites and they do not speak for HP UX11.11. In addition there aren'nt any proven and tested scripts available. In addition we have to compile.

I tried what Idriz has said again I get the following error.:::
Cant open diaply
could not find per display information.

a ps -ef | grep for X11 shows the following
root 13828 1 0 21:23:39 ? 0:00 /usr/bin/X11/hpterm -fn 6x13 -sb
-ls -display ddd.bb.c.xx:0 This is of my pc ip
I.Delic
Super Advisor

Re: Xhost

Hi Faizer,

Did you do this

export DISPLAY op je Unix Box ?


Idriz







Wodisch
Honored Contributor

Re: Xhost

Hi,

have you thought about using "xauth(1)" to grant permission to your screen?

FWIW,
Wodisch