Operating System - HP-UX
1829689 Members
7730 Online
109992 Solutions
New Discussion

Xlib connection to IP Address broken (explicit kill or server shutdown)

 
Jim Thrash
Occasional Contributor

Xlib connection to IP Address broken (explicit kill or server shutdown)

When trying to export an applications graphical user interface I receive the following message even though I export the DISPLAY variable.

X Connection to IP Address broken (explicit kill or server shutdown) How can I resolve this issue.
3 REPLIES 3
Alex Glennie
Honored Contributor

Re: Xlib connection to IP Address broken (explicit kill or server shutdown)

hi Jim,

Unfortuantly that error only tells us that there was some form of problem with network connectivity.

I'd suggest posting O/S , H/W details together with name of application / what it does.

Do you ever see the application appear ? Does this occur everytime ? and if yes after a specific set of events ?

Under what X or window manager enviroment are we talking here ?

If CDE : check /var/dt/Xerrors & $HOME/.dt/errorlogs for possible clues , also the syslog.log may also contain something wrt the network ?

Also try to ping the remote system and nslookup it'dip_address next time the problem occurs.
Holger Knoppik
Valued Contributor

Re: Xlib connection to IP Address broken (explicit kill or server shutdown)

Hi Jim,
one example for this error message is not having started the X Server. I connect to my HP boxes via SSH putty client. The DISPLAY variable is automatically set buy SSH. For GUIs, i run exceed in passive mode on my PC.
Hope this helps a bit.
RGDS, Holger
Live long and prosper!
K.Vijayaragavan.
Respected Contributor

Re: Xlib connection to IP Address broken (explicit kill or server shutdown)

Are you trying to export the display to a workstation/server which is behind the fire wall.

If so, ensure that TCP-port6000-6004 AND UDP port-177 is open for you to that worksation in your Firewall.

Whether It is behind firewall or not yo can do the below mentioned test to determine whether you have access to that port?

Try telnet to that port to see whether that port is available to you or not.

i.e.
Do "Telnet (IP ADDRESS) 6000"

If you get the "connected to IP address" or "connection refused" message you can treat that port is available for you.

If you get timed out error, then that port may be blocked at firewall or at the other server or workstation it self.

-Vija
"Let us fine tune our knowledge together"