General
cancel
Showing results for 
Search instead for 
Did you mean: 

VNC on HP-UX 11.31 ia64 not working

David Vann_2
Advisor

VNC on HP-UX 11.31 ia64 not working

I downloaded the realVNC 4.1.3 depot from www.realvnc.com. Kept getting errors about finding libstdc++.sl. There are now .so files. Creating a symbolic link didn't help, just got errors about a bad magic number. After reviewing the threads I see were 4.1.2 is supposed to work on 11.23 and I was hoping would work on 11.31. I kept getting errors about:Couldn't open RGB_DB '/usr/lib/X11/rgb'--This lead to creating symbolic links to:ln -s /usr/bin/X11/rgb /usr/lib/X11/rgb
ln -s /etc/X11/rgb.txt /usr/lib/X11/rgb.txt
ln -s /etc/X11/rgb.dir /usr/lib/X11/rgb.dir
ln -s /etc/X11/rgb.pag /usr/lib/X11/rgb.pag
Also notice an error about: error opening security policy file /usr/lib/X11/xserver/SecurityPolicy which lead to creating a link to: ln -s /etc/X11/SecurityPolicy /usr/lib/X11/xserver/SecurityPolicy

Finally got 4.1.2 vncserver to start w/o errors. Now when I use the vncviewer it opens starts an X windows session, but the front panel doesn't display. It start's a terminal session and I can run xclock, but the menu bar doesn't display cleanly. I couldn't find any errors in the vnc log. Has anyone gotten realvnc 4.1.3 and/or 4.1.2 tar/depot to work on HP-UX 11iv3 11.31 ia64? Or is there another free alternative? Until now I've had a lot of success with realVNC.
18 REPLIES
Dennis Handly
Acclaimed Contributor

Re: VNC on HP-UX 11.31 ia64 not working

Have you installed CDE on your 11.31 system?
Asif Sharif
Honored Contributor

Re: VNC on HP-UX 11.31 ia64 not working

Hi David,

If you may use "x2vnc-1.7.2", But make sure that you have installed CDE, becasue CDE is not installed in default installation.

#swlist -l bundle |grep CDE

X2VNC can be downloaded from below site.

http://hpux.connect.org.uk/hppd/hpux/Networking/Misc/x2vnc-1.7.2/

Regards,
Asif Sharif
David Vann_2
Advisor

Re: VNC on HP-UX 11.31 ia64 not working

I found CDE at the fileset level and not the bundle level, but it is installed.

# swlist -l fileset | grep -i cde
# CDE B.11.31 HP-UX CDE User Interface

CDE.CDE-SHLIBS B.11.31 CDE Shared Libraries
CDE.CDE-SHLIBS-IA B.11.31 CDE IA Native Shared Libr
aries
# CDEDevKit B.11.31.01 CDE Desktop Developer's T
oolKit
CDEDevKit.CDE-DEMOS B.11.31.01 Demo Applications
CDEDevKit.CDE-HELP-PRG B.11.31.01 Help Developer Applicatio
ns
CDEDevKit.CDE-HLP-PRG-CM B.11.31.01 Help Developer Applicatio
ns
CDEDevKit.CDE-INC B.11.31.01 Header files
CDEDevKit.CDE-MAN-DEV B.11.31.01 Developer Man Pages
CDEDevKit.CDE-PRG B.11.31.01 Developer Libraries
Robert-Jan Goossens_1
Honored Contributor

Re: VNC on HP-UX 11.31 ia64 not working

Hi,

You will need to install the Base CDE sofware from the HPXU 11iv3 installation DVD.

Example
CDE-English B.11.31 English CDE Environment

CPL Product: CDE-English
Codeword Req.: No
Size: 186750161
Revision: B.11.31
Description: English CDE Environment

Regards,
Robert-Jan
David Vann_2
Advisor

Re: VNC on HP-UX 11.31 ia64 not working

I found CDE-English and it has been installed. I'm still not seeing the front panel nor the menu bar options to close windows. I can start xclock, but I can't close it.
Dennis Handly
Acclaimed Contributor

Re: VNC on HP-UX 11.31 ia64 not working

>menu bar options to close windows. I can start xclock, but I can't close it.

Are you talking about a title bar on xclock?
I typically never want to close it so I tell it to not have one. But I have button options to bring up a menu.
It is probably simpler to just kill the xclock PID.
David Vann_2
Advisor

Re: VNC on HP-UX 11.31 ia64 not working

I was just running xclock from the command line from a vnc client just as a test.

My biggest concern is the missing front panel. The one that has a clock, terminal, printer, and session buttons.
Denver Osborn
Honored Contributor

Re: VNC on HP-UX 11.31 ia64 not working

Did you modify ~/.vnc/xstartup file? If you're getting an xterm and nothing more, then you need to change the xstartup for vnc.

What happens if you run "/usr/dt/bin/Xsession" instead of xclock... do you now see what you were expecting?

-denver
Denver Osborn
Honored Contributor

Re: VNC on HP-UX 11.31 ia64 not working

David, where did you find the 4.1.2 tarball for HPUX? I've run into the same unsat symbol problem with version 4.1.3 and would like to try 4.1.2 if I'm able to find it.

-denver
David Vann_2
Advisor

Re: VNC on HP-UX 11.31 ia64 not working

www.realvnc.com didn't have any other 4.1 versions available. So I googled "realvnc 4.1.2 download hpux tar file" and found
www.fileplay.net/file.../vnc-free-edition-for-hp-ux-11-11i-pa-risc-v4-1-2 -- not sure this link will work, but google using the above search and you should find it.
David Vann_2
Advisor

Re: VNC on HP-UX 11.31 ia64 not working

Xsession will start, but it's very fussy and performance is horrible. Still no front panel like I'm used to seeing.

The old xstartup file had:
1 #!/bin/sh
2
3 /usr/dt/bin/Xsession &
This xstartup file has:
!/bin/sh

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
David Vann_2
Advisor

Re: VNC on HP-UX 11.31 ia64 not working

I just restarted it and it's 1000 times better.

restarting vncserver with xstartup=
#!/bin/sh

/usr/dt/bin/Xsession &

Works great. Thank you
David Vann_2
Advisor

Re: VNC on HP-UX 11.31 ia64 not working

The above performance is great and I can now see the front panel. But it's still fuzzy.
David Vann_2
Advisor

Re: VNC on HP-UX 11.31 ia64 not working

Issue resolved
1-Make sure Base CDE is installed.
2-Make sure xstartup has CDE session startup

Thanks to all who helped.

I'll start a new session to address the fuzzy fonts.
Denver Osborn
Honored Contributor

Re: VNC on HP-UX 11.31 ia64 not working

Thanks David!

I couldn't get 4.1.3 to work (unsat symbol) and didn't want to attempt building it from source. I read 4.1.2 worked well but couldn't find it.

-denver
Borko Jankovic
Occasional Visitor

Re: VNC on HP-UX 11.31 ia64 not working

Hello David,

did you resolve issue with fuzzy fonts...?
I have the same problem as you...

Best Regards,
Borko
David Vann_2
Advisor

Re: VNC on HP-UX 11.31 ia64 not working

Yes. I added this to the vncserver script:
$cmd .= " -fp /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/hp_roman8/75dpi/,/usr/lib/X11/fonts/iso_8859.1/100dpi/,/usr/lib/X11/fonts/iso_8859.1/75dpi/";
Borko Jankovic
Occasional Visitor

Re: VNC on HP-UX 11.31 ia64 not working

It's working. Thanks!!