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 |
|
---|
7 | <!ENTITY tigervnc-download-http "&sources-anduin-http;/tigervnc/tigervnc-&tigervnc-version;.tar.gz">
|
---|
8 | <!ENTITY tigervnc-download-ftp " ">
|
---|
9 | <!ENTITY tigervnc-md5sum "5c9a80dd4b99b4eb19f535db5ce5830f">
|
---|
10 | <!ENTITY tigervnc-size "1.4 MB">
|
---|
11 | <!ENTITY tigervnc-buildsize "152 MB">
|
---|
12 | <!ENTITY tigervnc-time "1.7 SBU">
|
---|
13 | <!ENTITY tigervnc-xorg-version "1.19.3">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="tigervnc" xreflabel="tigervnc-&tigervnc-version;">
|
---|
17 | <?dbhtml filename="tigervnc.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
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 |
|
---|
33 | <para><application>Tigervnc</application> is an advanced VNC (Virtual
|
---|
34 | Network Computing) implementation. It allows creation of an Xorg server
|
---|
35 | not tied to a physical console and also provides a client for
|
---|
36 | viewing of the remote graphical desktop.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs80_checked;
|
---|
40 | &gcc7_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>Download (HTTP): <ulink url="&tigervnc-download-http;"/></para>
|
---|
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:
|
---|
69 | <ulink url="&xorg-download-http;/xserver/xorg-server-&tigervnc-xorg-version;.tar.bz2"/>
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | <!--
|
---|
73 | <listitem>
|
---|
74 | <para>
|
---|
75 | Required patch:
|
---|
76 | <ulink url="&patch-root;/tigervnc-&tigervnc-version;-gethomedir-1.patch"/>
|
---|
77 | </para>
|
---|
78 | </listitem>
|
---|
79 | -->
|
---|
80 | </itemizedlist>
|
---|
81 |
|
---|
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>
|
---|
85 |
|
---|
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"/>,
|
---|
95 | <xref linkend="pixman"/>,
|
---|
96 | <xref linkend="xorg7-app"/>, and
|
---|
97 | <xref linkend="xorg7-legacy"/>
|
---|
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 |
|
---|
117 | <screen><userinput>mkdir -vp build &&
|
---|
118 | cd build &&
|
---|
119 |
|
---|
120 | # Build viewer
|
---|
121 | cmake -G "Unix Makefiles" \
|
---|
122 | -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
123 | -DCMAKE_BUILD_TYPE=Release \
|
---|
124 | -Wno-dev .. &&
|
---|
125 | make &&
|
---|
126 |
|
---|
127 | # Build server
|
---|
128 | cp -vR ../unix/xserver unix/ &&
|
---|
129 | tar -xf ../../xorg-server-&tigervnc-xorg-version;.tar.bz2 -C unix/xserver --strip-components=1 &&
|
---|
130 |
|
---|
131 | pushd unix/xserver &&
|
---|
132 | patch -Np1 -i ../../../unix/xserver119.patch &&
|
---|
133 | autoreconf -fi &&
|
---|
134 |
|
---|
135 | ./configure $XORG_CONFIG \
|
---|
136 | --disable-xwayland --disable-dri --disable-dmx \
|
---|
137 | --disable-xorg --disable-xnest --disable-xvfb \
|
---|
138 | --disable-xwin --disable-xephyr --disable-kdrive \
|
---|
139 | --disable-devel-docs --disable-config-hal --disable-config-udev \
|
---|
140 | --disable-unit-tests --disable-selective-werror \
|
---|
141 | --disable-static --enable-dri3 \
|
---|
142 | --without-dtrace --enable-dri2 --enable-glx \
|
---|
143 | --with-pic &&
|
---|
144 | make TIGERVNC_SRCDIR=`pwd`/../../../ &&
|
---|
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 |
|
---|
151 | <screen role="root"><userinput>#Install viewer
|
---|
152 | make install &&
|
---|
153 |
|
---|
154 | #Install server
|
---|
155 | pushd unix/xserver/hw/vnc &&
|
---|
156 | make install &&
|
---|
157 | popd &&
|
---|
158 |
|
---|
159 | [ -e /usr/bin/Xvnc ] || ln -svf $XORG_PREFIX/bin/Xvnc /usr/bin/Xvnc</userinput></screen>
|
---|
160 |
|
---|
161 | <para>Finally, create a menu entry. As the
|
---|
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>
|
---|
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>
|
---|
178 |
|
---|
179 | </sect2>
|
---|
180 |
|
---|
181 | <sect2 role="commands">
|
---|
182 | <title>Command Explanations</title>
|
---|
183 |
|
---|
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 |
|
---|
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
|
---|
191 | is not installed in the <filename class='directory'>/usr/bin</filename>
|
---|
192 | directory, then create a link so the <command>vncserver</command> script
|
---|
193 | can find it.</para>
|
---|
194 |
|
---|
195 | </sect2>
|
---|
196 |
|
---|
197 | <sect2 role="configuration">
|
---|
198 | <title>Configuring Tigervnc</title>
|
---|
199 |
|
---|
200 | <para>The user specific configuration files of vncserver resides
|
---|
201 | in the <filename class='directory'>.vnc</filename> directory in the user's
|
---|
202 | home directory. The <filename>xstartup</filename> file in that
|
---|
203 | directory is a script specifying what commands to be run
|
---|
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>
|
---|
224 | <seg>Xvnc,
|
---|
225 | vncconfig,
|
---|
226 | vncpasswd,
|
---|
227 | vncserver,
|
---|
228 | vncviewer, and
|
---|
229 | x0vncserver</seg>
|
---|
230 |
|
---|
231 | <seg>libvnc.so</seg>
|
---|
232 | <seg>/usr/share/doc/tigervnc-&tigervnc-version;</seg>
|
---|
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.
|
---|
245 | It is based on a standard X server, but it has a
|
---|
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 |
|
---|
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 |
|
---|
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>
|
---|
288 | <para>is a client used to connect to VNC desktops.</para>
|
---|
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>
|
---|
298 | <para>is a program to make an X display on a physical
|
---|
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>
|
---|