Operating System - HP-UX
1819681 Members
3571 Online
109605 Solutions
New Discussion юеВ

xhost: unable to open display

 
SOLVED
Go to solution
Pramod M
Regular Advisor

xhost: unable to open display


Hi,
I am facing a display exporting problem here at one hp-ux server. Model rx3600, runing os hp-ux 11.23. Getting GUI at local console. But while exporting the display to a remote PC IP addres it gives te following error.

# export DISPLAY=10.1.12.109:0.0
# echo $DISPLAY
10.1.12.109:0.0
# xhost +
xhost: unable to open display "10.1.12.109:0.0"
#
I tried these commands from the local GUI console of the server. I am able to telnet from the windows PC to server.

Please help to solve the issue.

Thanks in advance,

Pramod M
9 REPLIES 9
OFC_EDM
Respected Contributor
Solution

Re: xhost: unable to open display

From the server can you ping the pc?
As well can you resolve the IP of the PC (10.1.12.109)? As as resolve the name of the PC?
Do you have an Xhost running on the PC? Which one?
Do you have

Also try these posts
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1193213

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1205121
The Devil is in the detail.
Vihang.
Trusted Contributor

Re: xhost: unable to open display

Hi Pramod,

There are many threads already discussing this issue. Go to google & type "xhost: unable to open display + site:itrc.hp.com" to search all the threads.


Regards,
Vihang.
SKR_1
Trusted Contributor

Re: xhost: unable to open display

Do you have hummingbird exceed install on the PC, if yes then open exceed first on the PC, then export the display from server.

Also check if xclock is running on your server.

Thanks
SKR
SKR_1
Trusted Contributor

Re: xhost: unable to open display

You can also install Reflextion-X or X-manager on the PC side.

Thanks

SKR
Hein van den Heuvel
Honored Contributor

Re: xhost: unable to open display

You want the PC to be the display right?
Then the PC has to be running some X-server.
And the PC should be told to allow display requests from the source, through an xhost + (or more specific) command on the PC, not on the HPUC box.
Think about it... it would be too easy if a guest could just tell the host 'trust me and the rest of the world'. That's what your xhost command was trying.

;-)

Hein.
V. Nyga
Honored Contributor

Re: xhost: unable to open display

Hi,

what does 'echo $DISPLAY' and 'xhost +' says without doing the export command at the beginning?

Volkmar
*** Say 'Thanks' with Kudos ***
Kenan Erdey
Honored Contributor

Re: xhost: unable to open display

hi,

for x-server you can try this free software:

http://sourceforge.net/projects/xwinlogon/

Kenan.
Computers have lots of memory but no imagination
Pramod M
Regular Advisor

Re: xhost: unable to open display

Hi,
Thanks to all.
Sorry for the delay.. The issue solved by installing Reflection on windows PC... Thank you very much for your fast response....

Regards,
Pramod M
Pramod M
Regular Advisor

Re: xhost: unable to open display

installed Reflection and the problem solved..
Thanks to all...................#

Regards,
Pramod