PDA

View Full Version : [SOLVED] RealVNC vncviewer on Ubuntu 9.04 AMD64



jtayl22
October 25th, 2009, 11:19 PM
FYI, for my environment (Solaris and RHEL servers inside a Cisco VPN being accessed on an Ubuntu 9.04 AMD64 laptop) the responsiveness of the RealVNC vncviewer is vastly superior to the TightVNC vncviewer that I installed from the Ubuntu distro.

To install the RealVNC vncviewer on AMD64 I needed to build from source:

$ sudo apt-get install g++
$ sudo apt-get install xserver-xorg-dev
- Download vnc-4_1_3-unixsrc.tar.gz from http://www.realvnc.com
$ gzip -dc vnc-4_1_3-unixsrc.tar.gz | tar xvf -

Need to modify 3 source files:
1) ./unix/x0vncserver/Image.cxx
#include <cstdlib>

2) ./unix/tx/TXImage.cxx
#include <cstdlib>

3) ./common/network/TcpSocket.cxx
#include <stdlib.h>

$ cd vnc-4_1_3-unixsrc/unix
$ ./configure
$ make
$ sudo cp vncviewer/vncviewer /usr/local/bin

Hope this helps someone.

Jeff

jtayl22
November 17th, 2009, 05:46 PM
Tried to repeat the process, but I had some problems:

../tx/TXWindow.h:33:22: error: X11/Xlib.h: No such file or directory
../tx/TXWindow.h:34:23: error: X11/Xutil.h: No such file or directory
In file included from DesktopWindow.h:28,
from DesktopWindow.cxx:22:
../tx/TXWindow.h:51: error: ‘XEvent’ has not been declared

Resolved with:

$ sudo apt-get install xorg-dev

discofever
November 17th, 2009, 09:49 PM
Nice got it work thank you !

Did you also manage to compile Xvnc ?

doubletruncation
December 5th, 2009, 04:28 AM
Thanks for posting this! It was a life-saver for me.