1836391 Members
3273 Online
110100 Solutions
New Discussion

Re: X server on HP UX

 
SOLVED
Go to solution
lVl_1
Super Advisor

X server on HP UX

Hello Forum,

I have a HP-UX machine where all the OpenView services are running. The bad point is that the ‘ovw’ command that should open the OV GUI doesn’t work: I get the message:
‘Can’t open display – Couldn’t find per display information’ . Therefore I need to deal with the X server.
What I know about it is: that an X program (like Cygwin, VNC or Reflection) must be running somewhere (on another machine than the HP-UX one?). Then, from the HP-UX machine we should use the following command:
‘export DISPLAY=[IP of the machine where, let’s say, Reflection is installed]:0’
What I don’t understand is that with this command we’re exporting the DISPLAY settings whereas we should be importing them from the other machine, shouldn’t we? Well, anyway, apart from using the export command, what else should I do to be able to access the OpenView graphical interface?
Thanks in advance to all who will try to help.


9 REPLIES 9
Sundar_7
Honored Contributor

Re: X server on HP UX

I guess you are litterally reading in to the "export" command. Export command just makes the variable available for any child sessions.

Here is what you need to do

1) telnet to the system
2) Run exceed (or any other XDMCP server on your laptop/Desktop)
3) # export DISPLAY=:0
4) # ovw &
Learn What to do ,How to do and more importantly When to do ?
Rasheed Tamton
Honored Contributor

Re: X server on HP UX

Hello there,

You must first use xhost+ from your client machine to import the xdisplay from the server (SOURCE)

and from the server do:
export DISPLAY=your-ip-no:0.0

There is a client part (on your own machine) and the server part

On the client part you are giving the server permission by disabling the access control. For this you use
xhost+

Then you export from the server the display as above.

After that just test it by running xclock command (it is a small xapp) that everything is ok.

If xclock runs you can run ov command to start the OVGUI.

Regards,
Rasheed Tamton.
A. Clay Stephenson
Acclaimed Contributor

Re: X server on HP UX

The term "Server" in the X world has, though technically correct, always been a source of confusion because the "server" is, in fact, located on your client (an X terminal or a PC running an X emulator). In some case, "server" class HP-UX machines actually also are running the X server software so then the "server" is the server. Now that I have you throughly confused, the answer is quite simple.

1) Start up your X emulator (Reflection/X or eXceed).
2) telnet to the HP-UX host and login normally:
3) export DISPLAY=:0.0
4) ovw &
If it ain't broke, I can fix that.
lVl_1
Super Advisor

Re: X server on HP UX

Thanks to the 3 of you for your quick answers. I'm downloading eXceed 2007 to my Windows laptop. What I need to know now is where I should install it then. On the HP-UX there are no graphics devices. Therefore, how could I get the OpenView output on it?
Patrick Wallek
Honored Contributor

Re: X server on HP UX

Exceed itself doesn't run on your Openview server. It runs on your laptop.

Install Exceed on the laptop, then do as Clay described.
Torsten.
Acclaimed Contributor
Solution

Re: X server on HP UX

Well, it is perhaps some complicated like mentioned above.

This is the idea:

There is a X-Server running anywhere (on your PC) that waits for a client.

The client (on your HP-UX server) tells the X-Server: Please draw something for me.

The "export DISPLAY" command is telling the X-Client where to draw.

A small example:

- the X-Server is running on your PC.

- the HP-UX server (the big box) is running an application like "xclock" - this is the X-Client.

- "xclock" is looking up where is somebody who can draw the clock (DISPLAY var)

- "xclock" is getting the time on the locale machine and tells the X-Server on another system - please draw a clock with my current time.

You can have different "xclock" applications running on different machines - all are drawing on the same PC - this is the reason for the X-Server vs. X-Client concept.

Clear enough???

Have fun!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
lVl_1
Super Advisor

Re: X server on HP UX

:-)
Thannks guys! It's working since yesterday but I hadn't had time to advise you.
I installed and ran Exceed 2007 on my laptop running Windows XP. Then I telnet the HP-UX machine (X-client right? ;-) and I used the 'export DISPLAY=[HP-UX IP]:0.0' command on it. 'echo DISPLAY' to check the value, & then 'ovw &' & it worked! You guys r great! I 10k you very much. (I'd better changed my name now becauz 'display information' isn't so cool right!? Now Im gonna post to the OV forum coz I got a bug when trying to collect some information.) c u there mayB. Anyway take care
Torsten.
Acclaimed Contributor

Re: X server on HP UX

Consider to assign some points if this was helpful.

Good luck!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
lVl_1
Super Advisor

Re: X server on HP UX

Hahahahaha! I did have already assigned'em Torsten. Take care & enjoy