realvnc - Virtual Network Computing, this version from the original developers ChangeLog

HOWTO


# RealVNC 4.0
# ===========
# Because their binaries are similarly (or identically) named, RealVNC and
# TightVNC can not coexist.  If you already have TightVNC installed, see the
# bottom of it's howto for instructions for how to remove it before you
# proceed here.

# Prerequisites:
# make
# gcc
# binutils
# fileutils or coreutils
# XFree86 or X.org (the latter may be more difficult to build the VNC server)
# zlib

cd
test -f installed/vnc-4.0-unixsrc.tar.gz &&
mv installed/vnc-4.0-unixsrc.tar.gz .
test ! -f vnc-4.0-unixsrc.tar.gz &&
wget http://www.realvnc.com/dist/vnc-4.0-unixsrc.tar.gz

# Verify tarball w/ coreutils:
echo "e8e79964b76e09e3a19c35cceb9e24b3" ; md5sum vnc-4.0-unixsrc.tar.gz

cd /usr/local/src
find -type d -maxdepth 1 -name "vnc-*" -exec rm -r {} \;
tar xzvf ~/vnc-4.0-unixsrc.tar.gz
cd vnc-4.0-unixsrc
chown -R root.root .

# If you use gcc 3.4.x (3.4.2 is current right now), apply this patch to fix
# a build problem:
wget -nc http://englanders.cc/pub/linux/patches/vnc-4.0-unixsrc-gcc34.patch &&
patch -p1 < vnc-4.0-unixsrc-gcc34.patch

# To build vncviewer, vncconfig and vncpasswd:
./configure --with-installed-zlib
make


# If you also want to build and install the VNC server, download the XFree86
# sources, patch them for VNC, and build them.  Note: even though XFree86
# 4.4.0 is the latest, we use 4.2.0 here because the xc.patch was written for
# version 4.2.0  Before you run 'make World' below, make sure that you have
# a /lib/cpp (mine is a symlink to /usr/bin/cpp).
wget ftp://ftp.xfree86.org/pub/XFree86/4.2.0/source/X420src-1.tgz

# Verify tarball w/ md5sum:
echo "ad43a8e9e39703322005cd6f7145b77f" ; md5sum X420src-1.tgz

tar xzvf X420src-1.tgz
patch -Np0 < xc.patch
cd xc
make World
cd ..

# If all went well you'll find these:
# xc/programs/Xserver/Xvnc
# xc/programs/Xserver/vnc/module/vnc.so


./vncinstall /usr/local/bin /usr/local/man
cd
mkdir -p -m 0700 installed
rm -f installed/vnc-*-unixsrc.tar.*
mv vnc-4.0-unixsrc.tar.gz installed/


# If you installed the server above, to turn your X server into a VNC server,
# add a Load "vnc" line to the Module section of your X configuration file
# (/etc/X11/XF86Config or /etc/X11/xorg.conf).  The settings referred to in
# 'man Xvnc' can be set as options in the config file.  For example:
# Option "passwordFile" "/root/.vnc/passwd"
# When you're done with the configuration file, (re-)start X.


# If you want to install the Java viewer, copy the files somewhere:
cd /usr/local/src/vnc-4.0-unixsrc
mkdir -p /usr/local/vnc/classes
cp java/* /usr/local/vnc/classes/


# If you ever need to uninstall RealVNC:
rm -f /usr/X11R6/lib/modules/extensions/vnc.so
( cd /usr/local/bin ; rm -f Xvnc vncconfig vncpasswd vncserver vncviewer \
  x0vncserver )
( cd /usr/local/man/man1 ; rm -f Xvnc.1 vncconfig.1 vncpasswd.1 vncserver.1 \
  vncviewer.1 x0vncserver.1 )

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2004-10-27 3:53pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]