Tigervnc-1.9.0

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 41. Other X-based Programs

- Prev

  Thunderbird-68.0

- Next

  Transmission-2.94

- Up
- Home

# Tigervnc-1.9.0

## Introduction to Tigervnc

Tigervnc is an advanced VNC (Virtual Network Computing) implementation. It allows creation of an Xorg server not tied to a physical console and also provides a client for viewing of the remote graphical desktop.

This package is known to build and work properly using an LFS-9.0 platform.

### Package Information

- Download (HTTP): https://github.com/TigerVNC/tigervnc/archive/v1.9.0/tigervnc-1.9.0.tar.gz

- Download MD5 sum: c2f9ea552431cb8ae7f7af7300f3b53f

- Download size: 1.4 MB

- Estimated disk space required: 94 MB

- Estimated build time: 1.3 SBU

### Additional Downloads

- Required file: https://www.x.org/pub/individual/xserver/xorg-server-1.20.4.tar.bz2

### Note

The version of Xorg may eventually be a few versions out of date, but is required for the customizations needed for this package.

### Tigervnc Dependencies

#### Required

CMake-3.15.2, FLTK-1.3.5, GnuTLS-3.6.9, libgcrypt-1.8.5, libjpeg-turbo-2.0.2, Pixman-0.38.4, Xorg Applications, and Xorg Legacy Fonts

#### Recommended

ImageMagick-7.0.8-60 and Linux-PAM-1.3.1

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/tigervnc

## Installation of Tigervnc

Install tigervnc by running the following commands:

    # Put code in place
    tar -xf ../xorg-server-1.20.4.tar.bz2 \
        --strip-components=1              \
        -C unix/xserver                   &&
    ( cd unix/xserver &&
      patch -Np1 -i ../xserver120.patch ) &&

    # Build viewer
    cmake -G "Unix Makefiles"         \
          -DCMAKE_INSTALL_PREFIX=/usr \
          -DCMAKE_BUILD_TYPE=Release  \
          -Wno-dev &&
    make &&

    # Build server
    pushd unix/xserver &&
      autoreconf -fiv  &&

      CFLAGS="$CFLAGS -I/usr/include/drm" \
      ./configure $XORG_CONFIG            \
          --disable-xwayland    --disable-dri        --disable-dmx         \
          --disable-xorg        --disable-xnest      --disable-xvfb        \
          --disable-xwin        --disable-xephyr     --disable-kdrive      \
          --disable-devel-docs  --disable-config-hal --disable-config-udev \
          --disable-unit-tests  --disable-selective-werror                 \
          --disable-static      --enable-dri3                              \
          --without-dtrace      --enable-dri2        --enable-glx          \
          --with-pic &&
      make  &&
    popd

This package does not come with a test suite.

Now, as the `root` user:

    #Install viewer
    make install &&

    #Install server
    ( cd unix/xserver/hw/vnc && make install ) &&

    [ -e /usr/bin/Xvnc ] || ln -svf $XORG_PREFIX/bin/Xvnc /usr/bin/Xvnc

## Command Explanations

tar -xf .. xorg-server...: This command extracts the standard Xorg package into the tree in a location needed for modification.

`--disable ...`: Most options that are usually needed for the standard Xorg server are not needed for the Xvnc instance being built.

[ -e /usr/bin/Xvnc ] || ln ... Xvnc: If the Xvnc server is not installed in the `/usr/bin` directory, then create a link so the vncserver script can find it.

## Configuring Tigervnc

The user specific configuration files of vncserver resides in the `.vnc` directory in the user's home directory. The `xstartup` file in that directory is a script specifying what commands to be run when a VNC desktop is started. If no `xstartup` file exists, vncserver will try to start an xterm in a twm session. An example `xstartup` would be:

    #!/bin/sh
    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    startlxde &

## Contents

Installed Programs: Xvnc, vncconfig, vncpasswd, vncserver, vncviewer, and x0vncserver
Installed Libraries: libvnc.so
Installed Directories: /usr/share/doc/tigervnc-1.9.0

### Short Descriptions

Xvnc | is a X VNC (Virtual Network Computing) server. It is based on a standard X server, but it has a "virtual" screen rather than a physical one.
vncconfig | is a program to configure and control a VNC server.
vncpasswd | allows you to set the password used to access VNC desktops.
vncserver | is a perl script used to start or stop a VNC server.
vncviewer | is a client used to connect to VNC desktops.
x0vncserver | is a program to make an X display on a physical terminal accessible via TigerVNC or compatible viewers.

Last updated on 2019-08-24 09:01:41 -0700

- Prev

  Thunderbird-68.0

- Next

  Transmission-2.94

- Up
- Home