Showing results for 
Search instead for 
Do you mean 

VNC for HPUX

SOLVED
Go to Solution
Trusted Contributor Trusted Contributor

VNC for HPUX

Hi all,

I'm a complete newbie regarding HP-UX, so please don't laugh...
So far, I managed to have a standard and simple install of HP-UX 11.31

Now, I need to install oracle on my server, but, to do so, I need X to be configured correctly.

Is it possible to get VNC working on HP-UX ? If so, how ? Or is there a tool that would allow me to redirect the display of my server to my laptop ?

Thanks for any help.


Rule One: There are no rules
Rule Two: Cheat anyway
-- John Wick in "Play Dirty"
1 ACCEPTED SOLUTION
Exalted Contributor Exalted Contributor

Re: VNC for HPUX

Shalom,

I take a totally different approach.

My laptop or management station runs Linux.

ssh -X hostname

I can run all X apps I need writing back to the display on the Linux box.

Also works nice with an HP-UX based workstation.

vnc for HP-UX works, I've tested it, but it is an aging application.

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
12 REPLIES
Honored Contributor Honored Contributor

Re: VNC for HPUX

> VNC for HPUX

> [...] redirect the display [...]

Not exactly equivalent requests.

> [...] standard and simple install [...]

Not a very well-defined entity.

> [...] my laptop ?

Not a very complete description of anything,
hardware or software.

If you have an X server installed on "my
laptop", then you might need only to set
DISPLAY appropriately when you log into the
HP-UX system. (And that might be automatic,
if you use ssh to log in.)
Acclaimed Contributor Acclaimed Contributor

Re: VNC for HPUX

Simply install an X server on your laptop, then tunnel to the server:

putty -X

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!   
Highlighted
Trusted Contributor Trusted Contributor

Re: VNC for HPUX

> Not exactly equivalent requests.

That's true...

But still, following Torsten's indications (plus installing Xming under windows), it went fine and I coud do X11 forwarding.

Now, to be honnest, what I would really like to do is use VNCSever on my HP-UX server.

> Not a very well-defined entity.

My server is an HP Integrity rx2600, and what I meant by 'standard and simple' install was inserting install DVD one and clicking yes almost everywhere.

What I really want to do is install VNC server on my HPUX Server and something like a desktop (gnome, probably) so I can run it from my Ubuntu Laptop and install Oracle and Operations Manager.

Any idea ?


Rule One: There are no rules
Rule Two: Cheat anyway
-- John Wick in "Play Dirty"
Exalted Contributor Exalted Contributor

Re: VNC for HPUX

Shalom,

I take a totally different approach.

My laptop or management station runs Linux.

ssh -X hostname

I can run all X apps I need writing back to the display on the Linux box.

Also works nice with an HP-UX based workstation.

vnc for HP-UX works, I've tested it, but it is an aging application.

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
Honored Contributor Honored Contributor

Re: VNC for HPUX

Hi,

I think you have to look for thread about cde or gnome desktop like this one
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=878672

For vnc on 11.31, internet express don't have it, and it seem that even in http://hpux.connect.org.uk/ Xvnc is not present
Look at this thread about Vnc
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1197284
So it seem not easy to do what you want.
Better to choose the X11 forwarding options with ssh.

HTH.
Honored Contributor Honored Contributor

Re: VNC for HPUX

> > [...] my laptop ?
>
> Not a very complete description of anything,
> hardware or software.

> [...] (plus installing Xming under windows)
> [...]

> [...] my Ubuntu Laptop [...]

It might be easier to suggest an appropriate
solution after "my laptop" settles down a
little more.

I'd expect any Linux kit to include an X
server, so, if anything, it should be easier
to do simple DISPLAY setting there than on
some unspecified "windows" system.

> What I really want to do is install VNC
> server [...]

No, that's _how_ you think that you wish to
do some (unspecified) thing. This would be
easier if you could specify what you really
wish to do, and then ask how to do that,
rather than ask how to implement what may be
a sub-optimal "solution" to the actual
problem.

For example: I'd like to be able to run
a graphical application (like, say, a Web
browser) on my HP-UX system, and have it
displayed on some other system (like, say,
"my laptop", whatever that is).

Or: I'd like a whole CDE desktop from my
HP-UX system to appear on "my laptop"
(whatever that is).
Valued Contributor Valued Contributor

Re: VNC for HPUX

Hi jbw,

I'm in a similar position as you, as I've installed 11.31 and need X to install Oracle.

My approach was to install HP's CDE. It's no longer installed by default as its under the optional components on the O/S DVD. Then you don't need to fiddle with anything else other than an X client like Reflection X, etc. From the X-client, open an XDMCP connection to the server, logon, install Oracle, then turn it off so the auditors don't bother you about the insecure protocol running on the server.

Hope that helps.
Advisor

Re: VNC for HPUX

Installing Xwindows and CDE on your server just to install Oracle is a slow and terrible idea. You don't need VNC and you don't need X server installed.

You simply need an X *client* on your local Windows, Mac OSX, or Linux PC. Then just export the DISPLAY variable in your SSH session and your server will use your PC as it's Xwindows display.

Just to use the Oracle GUI installer, there is absolutely no need to ever install Xwindows or CDE locally on your HP-UX server.
Honored Contributor Honored Contributor

Re: VNC for HPUX

> [...] an X client like Reflection X, etc.
> From the X-client, [...]

> You simply need an X *client* on your local
> Windows, Mac OSX, or Linux PC.

The X _server_ is the system which offers its
display (that is, _serves_ it) to other
systems. The X _client_ is the system where
the application runs.

If this seems counter-intuitive, then you
should adjust your intuition. Ideally,
before offering faulty advice.

http://en.wikipedia.org/wiki/X_Window_System
Advisor

Re: VNC for HPUX

Oops, you found a typo! Yes, I meant to say X server, not X client. But aside from this typo, the information is correct. You don't need an X server installed on HP-UX in order to display the Oracle installation GUI on your local PC. You simply need an X server (such as Xming) running on your local PC. No need to install anything on HP-UX.
Trusted Contributor Trusted Contributor

Re: VNC for HPUX

Thanks to all for all the help, especially to Torsten and SEP that more or less gave me a magical solution!

Steven Schweda, I know you want to be didactical, and your advice on being more specific was a good one, but maybe if you had phrased it differently it wouldn't have sounded so mean...

So, in short, what I wanted was to install VNC server on my App server, but what I NEEDED was an explanation about X11 forwarding.

So uncommented one line in /opt/ssh/etc/sshd_config:
> X11Forwarding yes
and use the following command on my management station:
ssh -X root@

I told you, I'm a complete HP-UX newbie, so I just didn't know how to to this.

Once again, thanks a lot for all your help.


Rule One: There are no rules
Rule Two: Cheat anyway
-- John Wick in "Play Dirty"
Honored Contributor Honored Contributor

Re: VNC for HPUX

>Now, I need to install oracle on my server, but, to do so, I need X to be configured correctly.

I hardly think that X is the only way to get a working OracleDB running on your system. We have vast number of DB servers, but none of them have/had X nor a VNC server. Anyway, YMMV...
****
Unix operates with beer.