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