source: xsoft/other/tigervnc.xml@ 803ea89

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 803ea89 was 803ea89, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • tigervnc-1.6.0: modify a "Note".

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

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