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