Operating System - HP-UX
1833824 Members
2098 Online
110063 Solutions
New Discussion

XWindows display not starts on HP-UX

 
Petr Drobny
Advisor

XWindows display not starts on HP-UX

Could somebody help me please?

On a few HP B2600 workstations with OS HP-UX 11.11/11.0 today not start
local Xwindows displays (on console) - but remote displays works O.K.

/etc/resolv.conf, /etc/nsswitch, /etc/hosts and DNS seems to be allright - only child Dtlogin process writes to the /var/dt/Xerrors
file message: "Hung in XOpenDisplay (hostname:0), attempt #1,2,3..., aborting"
And Xwindow Display not start - console is alphanumerical only.

What could be happened, if a monts ago this was
O.K. and I did not anything change?

Thank You for any information

Petr
4 REPLIES 4
Muthukumar_5
Honored Contributor

Re: XWindows display not starts on HP-UX

It is a problem DISPLAY parameter setting that we can not user hostname instead of IP-Address. It will make problem as like this.

Use as like,

export DISPLAY=172.17.1.10.0

It will not be useful if you as,
export DISPLAY=test.0

eventhough it is resolved with ping / nslookup / nsquery /etc commands there.

Easy to suggest when don't know about the problem!
Shaikh Imran
Honored Contributor

Re: XWindows display not starts on HP-UX

Hi,

what is the o/p of this command on console:
"/usr/dt/bin/dtconfig -e" ?

Regards,
I'll sleep when i am dead.
Alex Glennie
Honored Contributor

Re: XWindows display not starts on HP-UX

/sbin/init.d/dtlogin.rc stop

While CDE is stopped, have the user login at the console and do:

/usr/bin/X11/X :0

If the Xserver starts properly, then we can kill it by pressing ctrl-alt-break.

then check /var/X11/Xserver/logs/X0.log ?

result ?

ioscan -fnC graphics ?

if using DNS edit /etc/nsswitch to point to files only, then /sbin/init.d/dtlogin.rc start

results ?
Petr Drobny
Advisor

Re: XWindows display not starts on HP-UX

Thanks Muthukumar, Shaikh and Alex

- output from "command line" nslookup and nsquery (files and DNS requests) seemed to be O.K.
- output from dtconfig -e (auto-start enabled) seemed to be O.K. too

But I have bad message - I am sorry
- All with XWindows is after cca 6 hours O.K. again
- I did not catch make any change on HP-UX Workstations
- It seems like a DNS problem, because during this time my colleague in another building restarted primary DNS
daemon on another LINUX station and then it seems as it has been O.K. (On some HP-UX Workstations is running secondary DNS daemon and on some Workstations no).
(It is curious - nslookup and nsquery from HP-UX command line before looked O.K.)

I am sorry again. Thank You very much
for Your concern and I am going to let You
know if it happens again.
I am sorry if my English is horrible :-)

Thanks
Petr