Operating System - HP-UX
1832650 Members
3046 Online
110043 Solutions
New Discussion

Re: remote hpterm& problem

 
GODARD
Occasional Advisor

remote hpterm& problem

Hello Folks,

I changed my A-Class IP's address and now i get a problem with hpterm& command.

When I type hpterm& command in a telnet window it return me the following:

Xlib: connection to "xxx.xxx.xxx.140:0.0" refused by server
Xlib: Client is not authorized to connect to Server
Error Can't open display: xxx.xxx.xxx.140:0.0
Error Couldn't find per display information

I guess that's a security misconfiguration, but I'm a newbie in HP-UX and I can't find where to resolve this pb.

Thx for replies,

JC
9 REPLIES 9
Patrick Wallek
Honored Contributor

Re: remote hpterm& problem

Do an 'xhost +' command before doing your hpterm. Do a 'man xhost' for more information. xhost controls the security for Xwindows displaying from other systems on your current system.
Vincenzo Restuccia
Honored Contributor

Re: remote hpterm& problem

In remote host:
#xost +
access control disabled, clients can connect from any host
Thom Cornwell
Frequent Advisor

Re: remote hpterm& problem

On the HP server create /etc/X0.hosts and in it list the fully qualified names of the hosts that you want to allow. This is similar to hosts.equiv.
GODARD
Occasional Advisor

Re: remote hpterm& problem

Hello,

I'm sorry but i still having the same message.

When I try the "xhost +" command on the management console, the command fails "can't open display 0:0"

I can't understand why...

Help help :)

JC
GODARD
Occasional Advisor

Re: remote hpterm& problem

And so the /etc/X0.hosts doesn't seem to be taken in count...
Printaporn_1
Esteemed Contributor

Re: remote hpterm& problem

before you can run xhost+ you have to export DISPLAY first.
enjoy any little thing in my life
GODARD
Occasional Advisor

Re: remote hpterm& problem

The "export DISPLAY" is OK but same message again when trying "xhost +"

can't open display: 0.0
Vincenzo Restuccia
Honored Contributor

Re: remote hpterm& problem

You have a X emulator ?
Thom Cornwell
Frequent Advisor

Re: remote hpterm& problem

Really stretching my memory, but isn't there a file on the HP server that contains IPs for the systems that are TFTPing the boot up stuff? Did it get updated when the change on the client occured?