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