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