source: xsoft/other/tigervnc.xml@ 5d8210df

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

Update to tigervnc-1.7.0

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

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