Operating System - HP-UX
1825750 Members
2684 Online
109687 Solutions
New Discussion

Re: xhost: unable to open display "10.4.21.114:0.0"

 
SOLVED
Go to solution
Millicent Howze-Simmons
Frequent Advisor

xhost: unable to open display "10.4.21.114:0.0"

I installed a third party software that has disenabled the CDE(XServer) version 11.11.

What Happen ? Where did the change occur ?

How do I restore the CDE(XServer) so that the Oracle OUI can be used to installed the software ?
9 REPLIES 9
Paul Sperry
Honored Contributor

Re: xhost: unable to open display "10.4.21.114:0.0"

Have you tried running /sbin/init.d/dtlogin.rc to see if it will start manually?
Millicent Howze-Simmons
Frequent Advisor

Re: xhost: unable to open display "10.4.21.114:0.0"

I started dtlogin.rc and tried running the xclock and I received error:


Error: Couldn't find per display information

and also xhost and received error:

xhost: unable to open display "10.4.21.114:0.0"

What is causing this error ?
Paul Sperry
Honored Contributor

Re: xhost: unable to open display "10.4.21.114:0.0"

try this

cd /usr/bin/X11
./xhost +


then try xclock
Alex Glennie
Honored Contributor

Re: xhost: unable to open display "10.4.21.114:0.0"

Did this ever work ?

ps -ef dtlogin yields ?

fyi should list 1 dtlogin parent process and 1 child per display (cde session).

what is 10.4.21.114, pc or unix system, is it capable or running an Xwindows session ie has it got Reflection X or similar X emulation s/w installed or a graphics card and capable monitor attached if unix.

What s/w did you install that "broke" things here ?

If dtlogin is running and the h/w is capable of running Xwindows clients etc ... think networking.

can you nslookup 10.4.21.114 and ping it from the unix system and vice versa ?
Millicent Howze-Simmons
Frequent Advisor

Re: xhost: unable to open display "10.4.21.114:0.0"

I can do a nslookup and the "dtlogin" process is running but this is the results when trying to run XCLOCK:

# nslookup 10.4.21.114
Using /etc/hosts on: cmoshl05.ingenium.net

looking up FILES
Name: cmoshl05.ingenium.net
Address: 10.4.21.114
Aliases: cmoshl05

# xclock
Error: Can't open display:
Error: Couldn't find per display information
# export DISPLAY=10.4.21.114
# xclock
Error: Can't open display: 10.4.21.114
Error: Couldn't find per display information
# ps -ef|grep dtlogin
root 14792 14786 0 09:57:19 ? 0:00 /usr/dt/bin/dtlogin
root 15187 9744 0 11:36:22 pts/1 0:00 grep dtlogin
root 14786 13871 0 09:57:19 ? 0:00 /usr/dt/bin/dtlogin
#
Alex Glennie
Honored Contributor

Re: xhost: unable to open display "10.4.21.114:0.0"

OK so nslookup of 10.4.21.114 works at least 1 way.

I'll assume this is a remote PC from which you have telneted to the unix server

a) please export the display thus

> export DISPLAY=10.4.21.114:0.0
then try xclock ... result ?

if this fails on 10.4.21.114 please confirm what
X server or X emulation s/w is running to present a dispay for the xclock to appear on. fyi just telnetting using a standard terminal session will not work.
Paul Sperry
Honored Contributor
Solution

Re: xhost: unable to open display "10.4.21.114:0.0"

Does xclock work at the console?

If you see a CDE login at the console xclock
should work there too.
Millicent Howze-Simmons
Frequent Advisor

Re: xhost: unable to open display "10.4.21.114:0.0"

Paul,

Thanks for your help. The CDE is enabled.
Previusly, I was working from a secure shell session and using "CYGWIN" to start X11 through that connection... it use to work but has stopped.

So I went to the console and tried and there it was .. CDE login page.
THANK YOU!!!!
Millicent
Millicent Howze-Simmons
Frequent Advisor

Re: xhost: unable to open display "10.4.21.114:0.0"

Alex and Paul,

I have been trying to apply points but it just sits there.... It is not forwarding to next page showing points applied.

THANK YOU both for you help.



Millicent