Operating System - HP-UX
1822933 Members
3729 Online
109645 Solutions
New Discussion юеВ

Re: problem with export display in hpux

 
David_550
Advisor

problem with export display in hpux

Hi
I have a linux server and hpux server, when i export the display of my hpux to my linux and execute xclock in hpux, the following message is present:
ERROR: CAN├В┬┤T OPEN DISPLAY my_ip_linux
ERROR: COULN'T FIND PER DISPLAY INFORMATION

what is the problem?, please help

Dav
9 REPLIES 9
Patrick Wallek
Honored Contributor

Re: problem with export display in hpux

You probably need to do an 'xhost hpuxservername' on your Linux box.

# xhost hpux_server_name

or to allow all X connection to your box

# xhost +
T G Manikandan
Honored Contributor

Re: problem with export display in hpux

if you are working on the linux machine directly.

First do a

#xhost +

from one of the terminals

then

connect into your hpux machine and
#export DISPLAY=:0.0

From you are using a x-windows software from a PC then your DISPLAY should be set to its ip.

xwindows connection to linux from PC.

do a xhost +

Then

connect to hpux
then

export DISPLAY=:0.0


revert
Elmar P. Kolkman
Honored Contributor

Re: problem with export display in hpux

Another solution would be to create a X tunnel using ssh when logging in from the Linux to the HP-UX environment. For this you would have to alter the sshd_config on the HP-UX server and run the ssh command with the -X option.

More info on this can be found on the openssh site or in the documents that come with ssh when installing it on linux.
Every problem has at least one solution. Only some solutions are harder to find.
Mark Grant
Honored Contributor

Re: problem with export display in hpux

Also worth noting is that if you are using recent Red Hat distro's port 6000 is disabled. This is required for this kind of thing to work.

If the above posts don't work for you, I would make sure that port 6000 is available.
Never preceed any demonstration with anything more predictive than "watch this"
Heiner E. Lennackers
Respected Contributor

Re: problem with export display in hpux

It may help if you tell us, what distribution you are using on your linux server.

Some distributions start their X-server with the option '-nolisten tcp'. This prevent any connection to your X-server over the network. If this is the case, remove it and then the other comments about 'xhost' etc. will work.
if this makes any sense to you, you have a BIG problem
David_550
Advisor

Re: problem with export display in hpux

Thanks,
My linux distribution is redhat 9.0.

Before the export display from my hpux 11.11 to my linux, i execute xhost + in my hpux and linux, the problem is present.

Any idea?
Thanks

David
Pheroz Tengra_2
New Member

Re: problem with export display in hpux

Check the configured IP address on Linus, and the configured IP address on HPux.

Ping the destination IP, and ensure that it works.
Then do nslookup with the system name or alias, and then also with IP.
DO the same from HP to Linux.

I had ran across this problem, where the IP defined in the /etc/hosts was incorrect.
Johan Lorimier
Frequent Advisor

Re: problem with export display in hpux


Hi,

may be there is a network pb. In some cases, depending on our network equipement (swicth/routeur/firewall) configuration we have to use ssh with X11 forwarding to have X11 working.

Johan
sks
Occasional Advisor

Re: problem with export display in hpux

Hi Dav,


Pls check the ip address of Linux & HP both side & also resolve the same with nslookup command.If this works perfect then try to ping the linux server with HP server with large packet size,if reply is ok then , It shoud work.


With Regards
Sushil KS