[133cfd33] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[49fdc2a] | 7 | <!ENTITY tigervnc-download-http "http://anduin.linuxfromscratch.org/sources/BLFS/conglomeration/tigervnc/tigervnc-&tigervnc-version;.tar.gz">
|
---|
[f5f898c5] | 8 | <!ENTITY tigervnc-download-ftp " ">
|
---|
[fdc0c0a0] | 9 | <!ENTITY tigervnc-md5sum "2177ee42fa1a3902b6feeaa7747f1c2a">
|
---|
[f5f898c5] | 10 | <!ENTITY tigervnc-size "1.3 MB">
|
---|
[fdc0c0a0] | 11 | <!ENTITY tigervnc-buildsize "160 MB">
|
---|
| 12 | <!ENTITY tigervnc-time "1.6 SBU">
|
---|
| 13 | <!ENTITY tigervnc-xorg-version "1.17.1">
|
---|
[133cfd33] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="tigervnc" xreflabel="tigervnc-&tigervnc-version;">
|
---|
| 17 | <?dbhtml filename="tigervnc.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy: bdubbs $</othername>
|
---|
| 21 | <date>$Date: 2014-03-01 00:00:12 -0600 (Sat, 01 Mar 2014) $</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>Tigervnc-&tigervnc-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="tigervnc">
|
---|
| 27 | <primary sortas="a-tigervnc">tigervnc</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to Tigervnc</title>
|
---|
| 32 |
|
---|
| 33 | <para><application>Tigervnc</application> is an advanced VNC (Virtual
|
---|
| 34 | Network Computing) implementation. It allows creation of an Xorg server
|
---|
| 35 | not tied to a physical console and also provides a client for
|
---|
| 36 | viewing of the remote graphical desktop.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
[a30a874] | 39 | &lfs77_checked;
|
---|
[133cfd33] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[49fdc2a] | 44 | <para>Download (HTTP): <ulink url="&tigervnc-download-http;"/></para>
|
---|
[133cfd33] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&tigervnc-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: &tigervnc-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &tigervnc-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &tigervnc-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: &tigervnc-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 64 | <itemizedlist spacing="compact">
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Required file:
|
---|
[0269d30] | 68 | <ulink url="&xorg-download-http;/xserver/xorg-server-&tigervnc-xorg-version;.tar.bz2"/>
|
---|
[133cfd33] | 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
| 72 | <para>
|
---|
| 73 | Required patch:
|
---|
| 74 | <ulink url="&patch-root;/tigervnc-&tigervnc-version;-gethomedir-1.patch"/>
|
---|
| 75 | </para>
|
---|
| 76 | </listitem>
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>
|
---|
| 79 | Required patch:
|
---|
| 80 | <ulink url="&patch-root;/tigervnc-&tigervnc-version;-getmaster-1.patch"/>
|
---|
| 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 | <listitem>
|
---|
| 84 | <para>
|
---|
| 85 | Required patch:
|
---|
[fdc0c0a0] | 86 | <ulink url="&patch-root;/tigervnc-&tigervnc-version;-xorg117-1.patch"/>
|
---|
[133cfd33] | 87 | </para>
|
---|
| 88 | </listitem>
|
---|
| 89 | </itemizedlist>
|
---|
| 90 |
|
---|
[422ae04c] | 91 | <note><para>The version of <application>Xorg</application> is a few versions
|
---|
| 92 | out of date, but is required for the customizations needed for this
|
---|
| 93 | package.</para></note>
|
---|
| 94 |
|
---|
[133cfd33] | 95 | <bridgehead renderas="sect3">Tigervnc Dependencies</bridgehead>
|
---|
| 96 |
|
---|
| 97 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 98 | <para role="required">
|
---|
| 99 | <xref linkend="cmake"/>,
|
---|
| 100 | <xref linkend="fltk"/>,
|
---|
| 101 | <xref linkend="gnutls"/>,
|
---|
| 102 | <xref linkend="libgcrypt"/>,
|
---|
| 103 | <xref linkend="libjpeg"/>,
|
---|
| 104 | <xref linkend="pixman"/>, and
|
---|
| 105 | <xref linkend="xorg7-app"/>
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 109 | <para role="recommended">
|
---|
| 110 | <xref linkend="imagemagick"/> and
|
---|
| 111 | <xref linkend="linux-pam"/>
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <para condition="html" role="usernotes">User Notes:
|
---|
| 115 | <ulink url="&blfs-wiki;/tigervnc"/></para>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="installation">
|
---|
| 120 | <title>Installation of Tigervnc</title>
|
---|
| 121 |
|
---|
| 122 | <para>Install <application>tigervnc</application> by running the following
|
---|
| 123 | commands:</para>
|
---|
| 124 |
|
---|
[f9dd885] | 125 | <screen><userinput>tar -xf ../xorg-server-&tigervnc-xorg-version;.tar.bz2 -C unix/xserver --strip-components=1 &&
|
---|
[133cfd33] | 126 |
|
---|
| 127 | patch -Np1 -i ../tigervnc-&tigervnc-version;-gethomedir-1.patch &&
|
---|
| 128 | patch -Np1 -i ../tigervnc-&tigervnc-version;-getmaster-1.patch &&
|
---|
[fdc0c0a0] | 129 | patch -Np1 -i ../tigervnc-&tigervnc-version;-xorg117-1.patch &&
|
---|
| 130 | sed -i 's/iconic/nowin/' unix/vncserver &&
|
---|
[133cfd33] | 131 |
|
---|
| 132 | cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr &&
|
---|
| 133 | make &&
|
---|
| 134 |
|
---|
[fdc0c0a0] | 135 | pushd unix/xserver &&
|
---|
| 136 | patch -Np1 -i ../xserver116.patch &&
|
---|
| 137 | autoreconf -fiv &&
|
---|
[133cfd33] | 138 |
|
---|
| 139 | ./configure $XORG_CONFIG \
|
---|
[f5f898c5] | 140 | --disable-xwayland --enable-dri3 --disable-dmx \
|
---|
[133cfd33] | 141 | --disable-static --disable-xinerama --disable-dri \
|
---|
| 142 | --disable-xorg --disable-xnest --disable-xvfb \
|
---|
| 143 | --disable-xwin --disable-xephyr --disable-kdrive \
|
---|
[f5f898c5] | 144 | --disable-devel-docs --disable-config-hal --disable-config-udev \
|
---|
[133cfd33] | 145 | --disable-unit-tests --disable-selective-werror \
|
---|
[f9dd885] | 146 | --without-dtrace --enable-dri2 --enable-glx \
|
---|
[133cfd33] | 147 | --enable-glx-tls --with-pic &&
|
---|
| 148 | make &&
|
---|
| 149 | popd</userinput></screen>
|
---|
| 150 |
|
---|
| 151 | <para>This package does not come with a test suite.</para>
|
---|
| 152 |
|
---|
| 153 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 154 |
|
---|
| 155 | <screen role="root"><userinput>make install &&
|
---|
| 156 |
|
---|
| 157 | cd unix/xserver/hw/vnc &&
|
---|
| 158 | make install &&
|
---|
[fdc0c0a0] | 159 |
|
---|
[133cfd33] | 160 | [ -e /usr/bin/Xvnc ] || ln -svf $XORG_PREFIX/bin/Xvnc /usr/bin/Xvnc</userinput></screen>
|
---|
| 161 |
|
---|
| 162 | <para>Finally, create a menu entry. As the
|
---|
| 163 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 164 |
|
---|
| 165 | <screen role="root"><userinput>cat > /usr/share/applications/vncviewer.desktop << "EOF"
|
---|
| 166 | <literal>[Desktop Entry]
|
---|
| 167 | Type=Application
|
---|
| 168 | Name=TigerVNC Viewer
|
---|
| 169 | Comment=VNC client
|
---|
| 170 | Exec=/usr/bin/vncviewer
|
---|
| 171 | Icon=tigervnc
|
---|
| 172 | Terminal=false
|
---|
| 173 | StartupNotify=false
|
---|
| 174 | Categories=Network;RemoteAccess;</literal>
|
---|
| 175 | EOF</userinput></screen>
|
---|
| 176 |
|
---|
| 177 | </sect2>
|
---|
| 178 |
|
---|
| 179 | <sect2 role="commands">
|
---|
| 180 | <title>Command Explanations</title>
|
---|
| 181 |
|
---|
[fdc0c0a0] | 182 | <para><command>tar -xf .. xorg-server...</command>: This command extracts the
|
---|
[133cfd33] | 183 | standard Xorg packages into the tree in a location needed for modification.</para>
|
---|
| 184 |
|
---|
| 185 | <para><command>patch ...</command>: This set of patches modifies the standard
|
---|
| 186 | Xorg server so that the Xvnc command can be built.</para>
|
---|
| 187 |
|
---|
| 188 | <para><option>--disable ...</option>: Most options that are usually needed for
|
---|
| 189 | the standard Xorg server are not needed fror the Xvnc instance being built.</para>
|
---|
| 190 |
|
---|
| 191 | <para><command>[ -e /usr/bin/Xvnc ] || ln ... Xvnc</command>: If the Xvnc server
|
---|
| 192 | is not installed in the <filename class='directory'>/usr/bin</filename>
|
---|
| 193 | directory, then create a link so the <command>vncserver</command> script
|
---|
| 194 | can find it.</para>
|
---|
| 195 |
|
---|
| 196 | </sect2>
|
---|
| 197 |
|
---|
| 198 | <sect2 role="configuration">
|
---|
| 199 | <title>Configuring Tigervnc</title>
|
---|
| 200 |
|
---|
| 201 | <para>The user specific configuration files of vncserver resides
|
---|
| 202 | in the <filename class='directory'>.vnc</filename> directory in the user's
|
---|
| 203 | home directory. The <filename>xstartup</filename> file in that
|
---|
| 204 | directory is a script specifying what commands to be run
|
---|
| 205 | when a VNC desktop is started. If no <filename>xstartup</filename> file
|
---|
| 206 | exists, <command>vncserver</command> will try to start an xterm in a twm
|
---|
| 207 | session. An example <filename>xstartup</filename> would be:</para>
|
---|
| 208 |
|
---|
| 209 | <screen>#!/bin/sh
|
---|
| 210 |
|
---|
| 211 | [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
|
---|
| 212 | [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
|
---|
| 213 | startlxde &</screen>
|
---|
| 214 |
|
---|
| 215 | </sect2>
|
---|
| 216 |
|
---|
| 217 | <sect2 role="content">
|
---|
| 218 | <title>Contents</title>
|
---|
| 219 |
|
---|
| 220 | <segmentedlist>
|
---|
| 221 | <segtitle>Installed Programs</segtitle>
|
---|
| 222 | <segtitle>Installed Libraries</segtitle>
|
---|
| 223 | <segtitle>Installed Directories</segtitle>
|
---|
| 224 |
|
---|
| 225 | <seglistitem>
|
---|
| 226 | <seg>Xvnc,
|
---|
| 227 | vncconfig,
|
---|
| 228 | vncpasswd,
|
---|
| 229 | vncserver,
|
---|
| 230 | vncviewer, and
|
---|
| 231 | x0vncserver</seg>
|
---|
| 232 |
|
---|
| 233 | <seg>libvnc.so</seg>
|
---|
| 234 | <seg>None</seg>
|
---|
| 235 | </seglistitem>
|
---|
| 236 | </segmentedlist>
|
---|
| 237 |
|
---|
| 238 | <variablelist>
|
---|
| 239 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 240 | <?dbfo list-presentation="list"?>
|
---|
| 241 | <?dbhtml list-presentation="table"?>
|
---|
| 242 |
|
---|
| 243 | <varlistentry id="xvnc">
|
---|
| 244 | <term><command>Xvnc</command></term>
|
---|
| 245 | <listitem>
|
---|
| 246 | <para> is a X VNC (Virtual Network Computing) server.
|
---|
| 247 | It is based on a standard X server, but it has a
|
---|
| 248 | "virtual" screen rather than a physical one.</para>
|
---|
| 249 | <indexterm zone="tigervnc xvnc">
|
---|
| 250 | <primary sortas="b-xvnc">Xvnc</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
| 255 | <varlistentry id="vncconfig">
|
---|
| 256 | <term><command>vncconfig</command></term>
|
---|
| 257 | <listitem>
|
---|
| 258 | <para>is a program to configure and control a VNC server.</para>
|
---|
| 259 | <indexterm zone="tigervnc vncconfig">
|
---|
| 260 | <primary sortas="b-vncconfig">vncconfig</primary>
|
---|
| 261 | </indexterm>
|
---|
| 262 | </listitem>
|
---|
| 263 | </varlistentry>
|
---|
| 264 |
|
---|
| 265 | <varlistentry id="vncserver">
|
---|
| 266 | <term><command>vncserver</command></term>
|
---|
| 267 | <listitem>
|
---|
| 268 | <para>is a perl script used to start or stop a VNC server.</para>
|
---|
| 269 | <indexterm zone="tigervnc vncserver">
|
---|
| 270 | <primary sortas="b-vncserver">vncserver</primary>
|
---|
| 271 | </indexterm>
|
---|
| 272 | </listitem>
|
---|
| 273 | </varlistentry>
|
---|
| 274 |
|
---|
| 275 | <varlistentry id="vncviewer">
|
---|
| 276 | <term><command>vncviewer</command></term>
|
---|
| 277 | <listitem>
|
---|
| 278 | <para>is a client used to access VNC desktops.</para>
|
---|
| 279 | <indexterm zone="tigervnc vncviewer">
|
---|
| 280 | <primary sortas="b-vncviewer">vncviewer</primary>
|
---|
| 281 | </indexterm>
|
---|
| 282 | </listitem>
|
---|
| 283 | </varlistentry>
|
---|
| 284 |
|
---|
| 285 | <varlistentry id="x0vncserver">
|
---|
| 286 | <term><command>x0vncserver</command></term>
|
---|
| 287 | <listitem>
|
---|
| 288 | <para>is a program to make an X display onm a physical
|
---|
| 289 | terminal accessible via TigerVNC or compatible viewers.</para>
|
---|
| 290 | <indexterm zone="tigervnc x0vncserver">
|
---|
| 291 | <primary sortas="b-x0vncserver">x0vncserver</primary>
|
---|
| 292 | </indexterm>
|
---|
| 293 | </listitem>
|
---|
| 294 | </varlistentry>
|
---|
| 295 |
|
---|
| 296 | </variablelist>
|
---|
| 297 |
|
---|
| 298 | </sect2>
|
---|
| 299 |
|
---|
| 300 | </sect1>
|
---|