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