[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 " ">
|
---|
[3b696780] | 9 | <!ENTITY tigervnc-md5sum "07f5e217f288c515effb083896e65054">
|
---|
[19ea489] | 10 | <!ENTITY tigervnc-size "1.3 MB">
|
---|
[3b696780] | 11 | <!ENTITY tigervnc-buildsize "95 MB">
|
---|
| 12 | <!ENTITY tigervnc-time "0.5 SBU (Using parallelism=4)">
|
---|
| 13 | <!ENTITY tigervnc-xorg-version "1.20.7">
|
---|
[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 |
|
---|
[a74d9d6] | 40 | &lfs10_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
|
---|
[3b696780] | 128 | mkdir -p unix/xserver &&
|
---|
[3b9bfde] | 129 | tar -xf ../xorg-server-&tigervnc-xorg-version;.tar.bz2 \
|
---|
| 130 | --strip-components=1 \
|
---|
| 131 | -C unix/xserver &&
|
---|
| 132 | ( cd unix/xserver &&
|
---|
| 133 | patch -Np1 -i ../xserver120.patch ) &&
|
---|
[133cfd33] | 134 |
|
---|
[b636cda3] | 135 | # Build viewer
|
---|
| 136 | cmake -G "Unix Makefiles" \
|
---|
| 137 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 138 | -DCMAKE_BUILD_TYPE=Release \
|
---|
[9cb3c66d] | 139 | -Wno-dev . &&
|
---|
[133cfd33] | 140 | make &&
|
---|
| 141 |
|
---|
[b636cda3] | 142 | # Build server
|
---|
| 143 | pushd unix/xserver &&
|
---|
[76ceca6] | 144 | autoreconf -fiv &&
|
---|
[133cfd33] | 145 |
|
---|
[76ceca6] | 146 | CFLAGS="$CFLAGS -I/usr/include/drm" \
|
---|
| 147 | ./configure $XORG_CONFIG \
|
---|
[fabfce3c] | 148 | --disable-xwayland --disable-dri --disable-dmx \
|
---|
[133cfd33] | 149 | --disable-xorg --disable-xnest --disable-xvfb \
|
---|
| 150 | --disable-xwin --disable-xephyr --disable-kdrive \
|
---|
[f5f898c5] | 151 | --disable-devel-docs --disable-config-hal --disable-config-udev \
|
---|
[133cfd33] | 152 | --disable-unit-tests --disable-selective-werror \
|
---|
[fabfce3c] | 153 | --disable-static --enable-dri3 \
|
---|
[f9dd885] | 154 | --without-dtrace --enable-dri2 --enable-glx \
|
---|
[b636cda3] | 155 | --with-pic &&
|
---|
[76ceca6] | 156 | make &&
|
---|
[133cfd33] | 157 | popd</userinput></screen>
|
---|
| 158 |
|
---|
[622c1021] | 159 | <para>
|
---|
| 160 | This package does not come with a test suite.
|
---|
| 161 | </para>
|
---|
[133cfd33] | 162 |
|
---|
[622c1021] | 163 | <para>
|
---|
| 164 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 165 | </para>
|
---|
[133cfd33] | 166 |
|
---|
[b636cda3] | 167 | <screen role="root"><userinput>#Install viewer
|
---|
| 168 | make install &&
|
---|
[133cfd33] | 169 |
|
---|
[b636cda3] | 170 | #Install server
|
---|
[3b9bfde] | 171 | ( cd unix/xserver/hw/vnc && make install ) &&
|
---|
[fdc0c0a0] | 172 |
|
---|
[133cfd33] | 173 | [ -e /usr/bin/Xvnc ] || ln -svf $XORG_PREFIX/bin/Xvnc /usr/bin/Xvnc</userinput></screen>
|
---|
[1d23596] | 174 | <!-- These are installed as part of 'make install' for the client.
|
---|
[622c1021] | 175 | <para>
|
---|
| 176 | Finally, create a menu entry. As the
|
---|
| 177 | <systemitem class="username">root</systemitem> user:
|
---|
| 178 | </para>
|
---|
[133cfd33] | 179 |
|
---|
| 180 | <screen role="root"><userinput>cat > /usr/share/applications/vncviewer.desktop << "EOF"
|
---|
| 181 | <literal>[Desktop Entry]
|
---|
| 182 | Type=Application
|
---|
| 183 | Name=TigerVNC Viewer
|
---|
| 184 | Comment=VNC client
|
---|
| 185 | Exec=/usr/bin/vncviewer
|
---|
| 186 | Icon=tigervnc
|
---|
| 187 | Terminal=false
|
---|
| 188 | StartupNotify=false
|
---|
| 189 | Categories=Network;RemoteAccess;</literal>
|
---|
[b636cda3] | 190 | EOF
|
---|
| 191 |
|
---|
[fbbc908] | 192 | install -vm644 media/icons/tigervnc_24.png /usr/share/pixmaps &&
|
---|
[b636cda3] | 193 | ln -sfv tigervnc_24.png /usr/share/pixmaps/tigervnc.png</userinput></screen>
|
---|
[1d23596] | 194 | -->
|
---|
[133cfd33] | 195 | </sect2>
|
---|
| 196 |
|
---|
| 197 | <sect2 role="commands">
|
---|
| 198 | <title>Command Explanations</title>
|
---|
| 199 |
|
---|
[622c1021] | 200 | <para>
|
---|
| 201 | <command>tar -xf .. xorg-server...</command>: This command extracts the
|
---|
| 202 | standard Xorg package into the tree in a location needed for modification.
|
---|
| 203 | </para>
|
---|
[b636cda3] | 204 |
|
---|
[622c1021] | 205 | <para>
|
---|
| 206 | <option>--disable ...</option>: Most options that are usually needed for
|
---|
| 207 | the standard Xorg server are not needed for the Xvnc instance being built.
|
---|
| 208 | </para>
|
---|
[133cfd33] | 209 |
|
---|
[622c1021] | 210 | <para>
|
---|
| 211 | <command>[ -e /usr/bin/Xvnc ] || ln ... Xvnc</command>: If the Xvnc server
|
---|
| 212 | is not installed in the <filename class='directory'>/usr/bin</filename>
|
---|
| 213 | directory, then create a link so the <command>vncserver</command> script
|
---|
| 214 | can find it.
|
---|
| 215 | </para>
|
---|
[133cfd33] | 216 |
|
---|
| 217 | </sect2>
|
---|
| 218 |
|
---|
| 219 | <sect2 role="configuration">
|
---|
| 220 | <title>Configuring Tigervnc</title>
|
---|
| 221 |
|
---|
[622c1021] | 222 | <para>
|
---|
| 223 | The user specific configuration files of vncserver resides
|
---|
| 224 | in the <filename class='directory'>.vnc</filename> directory in the user's
|
---|
| 225 | home directory. The <filename>xstartup</filename> file in that
|
---|
| 226 | directory is a script specifying what commands to be run
|
---|
| 227 | when a VNC desktop is started. If no <filename>xstartup</filename> file
|
---|
| 228 | exists, <command>vncserver</command> will try to start an xterm in a twm
|
---|
| 229 | session. An example <filename>xstartup</filename> would be:
|
---|
| 230 | </para>
|
---|
[133cfd33] | 231 |
|
---|
| 232 | <screen>#!/bin/sh
|
---|
| 233 | [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
|
---|
| 234 | [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
|
---|
| 235 | startlxde &</screen>
|
---|
| 236 |
|
---|
[a74d9d6] | 237 | <para>
|
---|
| 238 | The <filename>xstartup</filename> file must be executable for the
|
---|
| 239 | commands in it to be executed, so run
|
---|
| 240 | <command>chmod a+x ~/.vnc/xstartup</command>.
|
---|
| 241 | </para>
|
---|
| 242 |
|
---|
| 243 |
|
---|
[133cfd33] | 244 | </sect2>
|
---|
| 245 |
|
---|
| 246 | <sect2 role="content">
|
---|
| 247 | <title>Contents</title>
|
---|
| 248 |
|
---|
| 249 | <segmentedlist>
|
---|
| 250 | <segtitle>Installed Programs</segtitle>
|
---|
| 251 | <segtitle>Installed Libraries</segtitle>
|
---|
| 252 | <segtitle>Installed Directories</segtitle>
|
---|
| 253 |
|
---|
| 254 | <seglistitem>
|
---|
[f3429309] | 255 | <seg>Xvnc,
|
---|
| 256 | vncconfig,
|
---|
| 257 | vncpasswd,
|
---|
| 258 | vncserver,
|
---|
| 259 | vncviewer, and
|
---|
[133cfd33] | 260 | x0vncserver</seg>
|
---|
[f3429309] | 261 |
|
---|
[133cfd33] | 262 | <seg>libvnc.so</seg>
|
---|
[b636cda3] | 263 | <seg>/usr/share/doc/tigervnc-&tigervnc-version;</seg>
|
---|
[133cfd33] | 264 | </seglistitem>
|
---|
| 265 | </segmentedlist>
|
---|
| 266 |
|
---|
| 267 | <variablelist>
|
---|
| 268 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 269 | <?dbfo list-presentation="list"?>
|
---|
| 270 | <?dbhtml list-presentation="table"?>
|
---|
| 271 |
|
---|
| 272 | <varlistentry id="xvnc">
|
---|
| 273 | <term><command>Xvnc</command></term>
|
---|
| 274 | <listitem>
|
---|
[622c1021] | 275 | <para>
|
---|
| 276 | is a X VNC (Virtual Network Computing) server.
|
---|
| 277 | It is based on a standard X server, but it has a
|
---|
| 278 | <quote>virtual</quote> screen rather than a physical one.
|
---|
| 279 | </para>
|
---|
[133cfd33] | 280 | <indexterm zone="tigervnc xvnc">
|
---|
| 281 | <primary sortas="b-xvnc">Xvnc</primary>
|
---|
| 282 | </indexterm>
|
---|
| 283 | </listitem>
|
---|
| 284 | </varlistentry>
|
---|
| 285 |
|
---|
| 286 | <varlistentry id="vncconfig">
|
---|
| 287 | <term><command>vncconfig</command></term>
|
---|
| 288 | <listitem>
|
---|
[622c1021] | 289 | <para>
|
---|
| 290 | is a program to configure and control a VNC server.
|
---|
| 291 | </para>
|
---|
[133cfd33] | 292 | <indexterm zone="tigervnc vncconfig">
|
---|
| 293 | <primary sortas="b-vncconfig">vncconfig</primary>
|
---|
| 294 | </indexterm>
|
---|
| 295 | </listitem>
|
---|
| 296 | </varlistentry>
|
---|
| 297 |
|
---|
[28370fe] | 298 | <varlistentry id="vncpasswd">
|
---|
| 299 | <term><command>vncpasswd</command></term>
|
---|
| 300 | <listitem>
|
---|
| 301 | <para>
|
---|
| 302 | allows you to set the password used to access VNC desktops.
|
---|
| 303 | </para>
|
---|
| 304 | <indexterm zone="tigervnc vncpasswd">
|
---|
| 305 | <primary sortas="b-vncpasswd">vncpasswd</primary>
|
---|
| 306 | </indexterm>
|
---|
| 307 | </listitem>
|
---|
| 308 | </varlistentry>
|
---|
| 309 |
|
---|
[133cfd33] | 310 | <varlistentry id="vncserver">
|
---|
| 311 | <term><command>vncserver</command></term>
|
---|
| 312 | <listitem>
|
---|
[622c1021] | 313 | <para>
|
---|
| 314 | is a perl script used to start or stop a VNC server.
|
---|
| 315 | </para>
|
---|
[133cfd33] | 316 | <indexterm zone="tigervnc vncserver">
|
---|
| 317 | <primary sortas="b-vncserver">vncserver</primary>
|
---|
| 318 | </indexterm>
|
---|
| 319 | </listitem>
|
---|
| 320 | </varlistentry>
|
---|
| 321 |
|
---|
| 322 | <varlistentry id="vncviewer">
|
---|
| 323 | <term><command>vncviewer</command></term>
|
---|
| 324 | <listitem>
|
---|
[622c1021] | 325 | <para>
|
---|
| 326 | is a client used to connect to VNC desktops.
|
---|
| 327 | </para>
|
---|
[133cfd33] | 328 | <indexterm zone="tigervnc vncviewer">
|
---|
| 329 | <primary sortas="b-vncviewer">vncviewer</primary>
|
---|
| 330 | </indexterm>
|
---|
| 331 | </listitem>
|
---|
| 332 | </varlistentry>
|
---|
| 333 |
|
---|
| 334 | <varlistentry id="x0vncserver">
|
---|
| 335 | <term><command>x0vncserver</command></term>
|
---|
| 336 | <listitem>
|
---|
[622c1021] | 337 | <para>
|
---|
| 338 | is a program to make an X display on a physical
|
---|
| 339 | terminal accessible via TigerVNC or compatible viewers.
|
---|
| 340 | </para>
|
---|
[133cfd33] | 341 | <indexterm zone="tigervnc x0vncserver">
|
---|
| 342 | <primary sortas="b-x0vncserver">x0vncserver</primary>
|
---|
| 343 | </indexterm>
|
---|
| 344 | </listitem>
|
---|
| 345 | </varlistentry>
|
---|
| 346 |
|
---|
| 347 | </variablelist>
|
---|
| 348 |
|
---|
| 349 | </sect2>
|
---|
| 350 |
|
---|
| 351 | </sect1>
|
---|