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