source: xsoft/other/tigervnc.xml@ 3b696780

10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 3b696780 was 3b696780, checked in by Bruce Dubbs <bdubbs@…>, 13 months ago

Update to tigervnc-1.11.0.
Update to highlight-3.58.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23705 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.6 KB
Line 
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 "https://github.com/TigerVNC/tigervnc/archive/v&tigervnc-version;/tigervnc-&tigervnc-version;.tar.gz">
8 <!ENTITY tigervnc-download-ftp " ">
9 <!ENTITY tigervnc-md5sum "07f5e217f288c515effb083896e65054">
10 <!ENTITY tigervnc-size "1.3 MB">
11 <!ENTITY tigervnc-buildsize "95 MB">
12 <!ENTITY tigervnc-time "0.5 SBU (Using parallelism=4)">
13 <!ENTITY tigervnc-xorg-version "1.20.7">
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>
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.
38 </para>
39
40 &lfs10_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 file:
81 <ulink url="&xorg-download-http;/xserver/xorg-server-&tigervnc-xorg-version;.tar.bz2"/>
82 </para>
83 </listitem>
84 </itemizedlist>
85
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>
93
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"/>,
103 <xref linkend="pixman"/>,
104 <xref linkend="xorg7-app"/>, and
105 <xref linkend="xorg7-legacy"/>
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
122 <para>
123 Install <application>tigervnc</application> by running the following
124 commands:
125 </para>
126
127<screen><userinput># Put code in place
128mkdir -p unix/xserver &amp;&amp;
129tar -xf ../xorg-server-&tigervnc-xorg-version;.tar.bz2 \
130 --strip-components=1 \
131 -C unix/xserver &amp;&amp;
132( cd unix/xserver &amp;&amp;
133 patch -Np1 -i ../xserver120.patch ) &amp;&amp;
134
135# Build viewer
136cmake -G "Unix Makefiles" \
137 -DCMAKE_INSTALL_PREFIX=/usr \
138 -DCMAKE_BUILD_TYPE=Release \
139 -Wno-dev . &amp;&amp;
140make &amp;&amp;
141
142# Build server
143pushd unix/xserver &amp;&amp;
144 autoreconf -fiv &amp;&amp;
145
146 CFLAGS="$CFLAGS -I/usr/include/drm" \
147 ./configure $XORG_CONFIG \
148 --disable-xwayland --disable-dri --disable-dmx \
149 --disable-xorg --disable-xnest --disable-xvfb \
150 --disable-xwin --disable-xephyr --disable-kdrive \
151 --disable-devel-docs --disable-config-hal --disable-config-udev \
152 --disable-unit-tests --disable-selective-werror \
153 --disable-static --enable-dri3 \
154 --without-dtrace --enable-dri2 --enable-glx \
155 --with-pic &amp;&amp;
156 make &amp;&amp;
157popd</userinput></screen>
158
159 <para>
160 This package does not come with a test suite.
161 </para>
162
163 <para>
164 Now, as the <systemitem class="username">root</systemitem> user:
165 </para>
166
167<screen role="root"><userinput>#Install viewer
168make install &amp;&amp;
169
170#Install server
171( cd unix/xserver/hw/vnc &amp;&amp; make install ) &amp;&amp;
172
173[ -e /usr/bin/Xvnc ] || ln -svf $XORG_PREFIX/bin/Xvnc /usr/bin/Xvnc</userinput></screen>
174<!-- These are installed as part of 'make install' for the client.
175 <para>
176 Finally, create a menu entry. As the
177 <systemitem class="username">root</systemitem> user:
178 </para>
179
180<screen role="root"><userinput>cat &gt; /usr/share/applications/vncviewer.desktop &lt;&lt; "EOF"
181<literal>[Desktop Entry]
182Type=Application
183Name=TigerVNC Viewer
184Comment=VNC client
185Exec=/usr/bin/vncviewer
186Icon=tigervnc
187Terminal=false
188StartupNotify=false
189Categories=Network;RemoteAccess;</literal>
190EOF
191
192install -vm644 media/icons/tigervnc_24.png /usr/share/pixmaps &amp;&amp;
193ln -sfv tigervnc_24.png /usr/share/pixmaps/tigervnc.png</userinput></screen>
194-->
195 </sect2>
196
197 <sect2 role="commands">
198 <title>Command Explanations</title>
199
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>
204
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>
209
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>
216
217 </sect2>
218
219 <sect2 role="configuration">
220 <title>Configuring Tigervnc</title>
221
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>
231
232<screen>#!/bin/sh
233[ -x /etc/vnc/xstartup ] &amp;&amp; exec /etc/vnc/xstartup
234[ -r $HOME/.Xresources ] &amp;&amp; xrdb $HOME/.Xresources
235startlxde &amp;</screen>
236
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
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>
255 <seg>Xvnc,
256 vncconfig,
257 vncpasswd,
258 vncserver,
259 vncviewer, and
260 x0vncserver</seg>
261
262 <seg>libvnc.so</seg>
263 <seg>/usr/share/doc/tigervnc-&tigervnc-version;</seg>
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>
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>
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>
289 <para>
290 is a program to configure and control a VNC server.
291 </para>
292 <indexterm zone="tigervnc vncconfig">
293 <primary sortas="b-vncconfig">vncconfig</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
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
310 <varlistentry id="vncserver">
311 <term><command>vncserver</command></term>
312 <listitem>
313 <para>
314 is a perl script used to start or stop a VNC server.
315 </para>
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>
325 <para>
326 is a client used to connect to VNC desktops.
327 </para>
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>
337 <para>
338 is a program to make an X display on a physical
339 terminal accessible via TigerVNC or compatible viewers.
340 </para>
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>
Note: See TracBrowser for help on using the repository browser.