1833953 Members
2361 Online
110063 Solutions
New Discussion

hpterm issue

 
Daedalus
New Member

hpterm issue

I am having an issue with regards to running hpterm. After reading over some similar posts in here I found that someone suggested running the "xhost +" command first. Unfortunately, when I do that I get the following error:
xhost: unable to open display ""

Here is the error messages I get when trying to start hpterm:
Error: Can't open display:
Error: Couldn't find per display information

Does anyone know how to get around this? I'm on a serious time crunch here.

Thanks!
8 REPLIES 8
Victor BERRIDGE
Honored Contributor

Re: hpterm issue

Hi;
I would think you have your variable DISPLAY unset...
once set xhost command should work
do an export DISPLAY=:0.0


All the best

Victor
John Dvorchak
Honored Contributor

Re: hpterm issue

To run xhost you must first make sure that the system you are running it on knows it's own display name. Try exporting the display info:

If the sytem name is test1 then:

> export DISPLAY=test1:0.0

> xhost +

Let us know if that works for you.
If it has wheels or a skirt, you can't afford it.
Daedalus
New Member

Re: hpterm issue

Ok I've issued that command but am still having problems (see below):

(DAL-websvr1) /# export DISPLAY=192.168.30.41:0.0
(DAL-websvr1) /# hpterm
Error: Can't open display: 192.168.30.41:0.0
Error: Couldn't find per display informatio
John Dvorchak
Honored Contributor

Re: hpterm issue

Please don't assign me any points for my answer. I got busy just as I hit reply and didn't finish for some time. Victor deserves the points he was certainly ahead of me with the answer.
If it has wheels or a skirt, you can't afford it.
John Dvorchak
Honored Contributor

Re: hpterm issue

After seeing what you have now with
"Error: Can't open display: 192.168.0.21:0.0
Error: Couldn't find per display information"

What that means is that you have no X server running on the IP address that you are exporting or it could mean that you have to run xhost + on it.
If it has wheels or a skirt, you can't afford it.
Daedalus
New Member

Re: hpterm issue

Dare I ask how difficult is it to install X services on one of my servers and where can I obtain the software to do so?
Daedalus
New Member

Re: hpterm issue

Sorry that was X Server not X services
John Dvorchak
Honored Contributor

Re: hpterm issue

I think you may be getting confused as to what the X server is and where it runs. If you are already logged onto the console via a graphics terminal with keyboard, mouse and monitor hooked directly to the HPUX box, X is already running. If you are on a PC and just want to export an hpterm to your PC's desktop, you will need to have an X-server running on your PC. It is a little confusing when talking X as the server is really the client in this case. The HPUX box is the client and your PC is actually the Server and must be running an X server like Reflections X or Exceed etc.

Does this sound like what you are trying to do?
If it has wheels or a skirt, you can't afford it.