Operating System - HP-UX
1844796 Members
2458 Online
110233 Solutions
New Discussion

Applications unable to display

 
Patrick Murphy
Advisor

Applications unable to display

Several applications running on a new C3600 using HP-UX 11.00 are unable to open their displays when launched from a remote login session using Exceed (V7.1.0) from a PC. A message like "Display not Found" or "Unable to display is found" Other applications work just fine. The work around is to assign the DISPLAY variable to acutal PC's IP address instead of the name assigned to that IP (i.e. export DISPLAY=WWW.XXX.YYY.ZZZ:0.0 instead of Some-silly-name:0.0) Using nslookup we find that the name is resolved properly to the IP and vise versa. I have found that making the following assignment at login gets around this DISPLAY=`who -u am I | awk '{print $8":0.0"}'` I would assume that something is wrong and I should not have to do this. Your thoughts would be greatly appreciated
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor

Re: Applications unable to display

Hi,

I believe the problem lies in the name resolution.

Where are you trying to nslookup from?.

Once the remote login is established and if you do a 'nslookup some-silly-name', does it print correct IP address?.

It is not recommended to hardcode the DISPLAY variable into .profile unless you check for the variable "DT". Look at .dtprofile for more information.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Patrick Murphy
Advisor

Re: Applications unable to display

We are performing the nslookup on the C3600 using both the name and the IP. In both cases the correct resolution is obtained. Name resolution seems to be working properly. Another method we utilized is ping from the C3600. I have been told that even if nslookup works, ping may not. This activity works also.


I would agree that hard coding the Display is not desirable and should not be necessary.