Operating System - HP-UX
1836648 Members
1834 Online
110102 Solutions
New Discussion

Re: GUI not displayed remotely

 
SOLVED
Go to solution
Olga_1
Regular Advisor

GUI not displayed remotely

Hello,
We have an interesting situation where I can run GUI interface by connecting through Exceed to an HP-UX 11.11 server, but another user, cannot. That user is from different company and he is able to run GUI application on two other HP-UX 11.11 servers that belong to us.
All HP servers are on the same network.

Here is the error:

The DISPLAY environment variable is set to "10.xxx.xx.xx:0.0", but the current configuration won't allow sam to run on that display.
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: GUI not displayed remotely

Shalom,

The most likely cause of this condition is the permissions in the user home directory on the system that is not functioning correctly.

the .dt directories may have the wrong ownership or permissions or files inside those folders may have the same issues.

If there is not a centralized home directory system (on nfs for example) you may be able to resolve the problem by making the home directory permissions the same on the non-working system as the working one.

It is also possible that firewall and network configuration between the user and the affected system does not permit traffic on the proper ports. This could be switch configuration or VLAN for example.

The /var/adm/syslog/syslog.log fail may provide clues to what the actual issue is.

Since it involves sam, the sam restricted user profile may be different on this system.

As I understand it, you can run the GUI on this system and the other user can not. Thats why I first suggested permissions, because that would likely be able to explain such behavior.

Regards,

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: GUI not displayed remotely

Rather than use SAM to test Xwindows, just run xclock (/usr/bin/X11/xclock). If this is an Xwindows config issue, xclock will give a similar error message. If it fails, check the current host access with the xhost command.


Bill Hassell, sysadmin

Re: GUI not displayed remotely

I ditto what Bill said about checking the xhost output. I would add what does echo $DISPLAY produce? (compared to his IP)

What if xhost + is executed?, will the GUI then open?

Is there an ~/.rhosts file?, What does it contain?, does it differ from his .rhosts file on the servers where he can open SAM?