source: xsoft/other/tigervnc.xml@ e54771c

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 e54771c was e54771c, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Update to ImageMagick-7.0.1-1.
Fix/Mark several packages for gcc6.

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