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