source: xsoft/other/tigervnc.xml@ a74d9d6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 a74d9d6 was a74d9d6, checked in by Pierre Labastie <pieere@…>, 4 years ago

tag tigervnc

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23618 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 "0c38334c7a52d304c30fac7802125a49">
10 <!ENTITY tigervnc-size "1.3 MB">
11 <!ENTITY tigervnc-buildsize "94 MB">
12 <!ENTITY tigervnc-time "1.2 SBU">
13 <!ENTITY tigervnc-xorg-version "1.20.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>
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
128tar -xf ../xorg-server-&tigervnc-xorg-version;.tar.bz2 \
129 --strip-components=1 \
130 -C unix/xserver &amp;&amp;
131( cd unix/xserver &amp;&amp;
132 patch -Np1 -i ../xserver120.patch ) &amp;&amp;
133
134# Build viewer
135cmake -G "Unix Makefiles" \
136 -DCMAKE_INSTALL_PREFIX=/usr \
137 -DCMAKE_BUILD_TYPE=Release \
138 -Wno-dev . &amp;&amp;
139make &amp;&amp;
140
141# Build server
142pushd unix/xserver &amp;&amp;
143 autoreconf -fiv &amp;&amp;
144
145 CFLAGS="$CFLAGS -I/usr/include/drm" \
146 ./configure $XORG_CONFIG \
147 --disable-xwayland --disable-dri --disable-dmx \
148 --disable-xorg --disable-xnest --disable-xvfb \
149 --disable-xwin --disable-xephyr --disable-kdrive \
150 --disable-devel-docs --disable-config-hal --disable-config-udev \
151 --disable-unit-tests --disable-selective-werror \
152 --disable-static --enable-dri3 \
153 --without-dtrace --enable-dri2 --enable-glx \
154 --with-pic &amp;&amp;
155 make &amp;&amp;
156popd</userinput></screen>
157
158 <para>
159 This package does not come with a test suite.
160 </para>
161
162 <para>
163 Now, as the <systemitem class="username">root</systemitem> user:
164 </para>
165
166<screen role="root"><userinput>#Install viewer
167make install &amp;&amp;
168
169#Install server
170( cd unix/xserver/hw/vnc &amp;&amp; make install ) &amp;&amp;
171
172[ -e /usr/bin/Xvnc ] || ln -svf $XORG_PREFIX/bin/Xvnc /usr/bin/Xvnc</userinput></screen>
173<!-- These are installed as part of 'make install' for the client.
174 <para>
175 Finally, create a menu entry. As the
176 <systemitem class="username">root</systemitem> user:
177 </para>
178
179<screen role="root"><userinput>cat &gt; /usr/share/applications/vncviewer.desktop &lt;&lt; "EOF"
180<literal>[Desktop Entry]
181Type=Application
182Name=TigerVNC Viewer
183Comment=VNC client
184Exec=/usr/bin/vncviewer
185Icon=tigervnc
186Terminal=false
187StartupNotify=false
188Categories=Network;RemoteAccess;</literal>
189EOF
190
191install -vm644 media/icons/tigervnc_24.png /usr/share/pixmaps &amp;&amp;
192ln -sfv tigervnc_24.png /usr/share/pixmaps/tigervnc.png</userinput></screen>
193-->
194 </sect2>
195
196 <sect2 role="commands">
197 <title>Command Explanations</title>
198
199 <para>
200 <command>tar -xf .. xorg-server...</command>: This command extracts the
201 standard Xorg package into the tree in a location needed for modification.
202 </para>
203
204 <para>
205 <option>--disable ...</option>: Most options that are usually needed for
206 the standard Xorg server are not needed for the Xvnc instance being built.
207 </para>
208
209 <para>
210 <command>[ -e /usr/bin/Xvnc ] || ln ... Xvnc</command>: If the Xvnc server
211 is not installed in the <filename class='directory'>/usr/bin</filename>
212 directory, then create a link so the <command>vncserver</command> script
213 can find it.
214 </para>
215
216 </sect2>
217
218 <sect2 role="configuration">
219 <title>Configuring Tigervnc</title>
220
221 <para>
222 The user specific configuration files of vncserver resides
223 in the <filename class='directory'>.vnc</filename> directory in the user's
224 home directory. The <filename>xstartup</filename> file in that
225 directory is a script specifying what commands to be run
226 when a VNC desktop is started. If no <filename>xstartup</filename> file
227 exists, <command>vncserver</command> will try to start an xterm in a twm
228 session. An example <filename>xstartup</filename> would be:
229 </para>
230
231<screen>#!/bin/sh
232[ -x /etc/vnc/xstartup ] &amp;&amp; exec /etc/vnc/xstartup
233[ -r $HOME/.Xresources ] &amp;&amp; xrdb $HOME/.Xresources
234startlxde &amp;</screen>
235
236 <para>
237 The <filename>xstartup</filename> file must be executable for the
238 commands in it to be executed, so run
239 <command>chmod a+x ~/.vnc/xstartup</command>.
240 </para>
241
242
243 </sect2>
244
245 <sect2 role="content">
246 <title>Contents</title>
247
248 <segmentedlist>
249 <segtitle>Installed Programs</segtitle>
250 <segtitle>Installed Libraries</segtitle>
251 <segtitle>Installed Directories</segtitle>
252
253 <seglistitem>
254 <seg>Xvnc,
255 vncconfig,
256 vncpasswd,
257 vncserver,
258 vncviewer, and
259 x0vncserver</seg>
260
261 <seg>libvnc.so</seg>
262 <seg>/usr/share/doc/tigervnc-&tigervnc-version;</seg>
263 </seglistitem>
264 </segmentedlist>
265
266 <variablelist>
267 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
268 <?dbfo list-presentation="list"?>
269 <?dbhtml list-presentation="table"?>
270
271 <varlistentry id="xvnc">
272 <term><command>Xvnc</command></term>
273 <listitem>
274 <para>
275 is a X VNC (Virtual Network Computing) server.
276 It is based on a standard X server, but it has a
277 <quote>virtual</quote> screen rather than a physical one.
278 </para>
279 <indexterm zone="tigervnc xvnc">
280 <primary sortas="b-xvnc">Xvnc</primary>
281 </indexterm>
282 </listitem>
283 </varlistentry>
284
285 <varlistentry id="vncconfig">
286 <term><command>vncconfig</command></term>
287 <listitem>
288 <para>
289 is a program to configure and control a VNC server.
290 </para>
291 <indexterm zone="tigervnc vncconfig">
292 <primary sortas="b-vncconfig">vncconfig</primary>
293 </indexterm>
294 </listitem>
295 </varlistentry>
296
297 <varlistentry id="vncpasswd">
298 <term><command>vncpasswd</command></term>
299 <listitem>
300 <para>
301 allows you to set the password used to access VNC desktops.
302 </para>
303 <indexterm zone="tigervnc vncpasswd">
304 <primary sortas="b-vncpasswd">vncpasswd</primary>
305 </indexterm>
306 </listitem>
307 </varlistentry>
308
309 <varlistentry id="vncserver">
310 <term><command>vncserver</command></term>
311 <listitem>
312 <para>
313 is a perl script used to start or stop a VNC server.
314 </para>
315 <indexterm zone="tigervnc vncserver">
316 <primary sortas="b-vncserver">vncserver</primary>
317 </indexterm>
318 </listitem>
319 </varlistentry>
320
321 <varlistentry id="vncviewer">
322 <term><command>vncviewer</command></term>
323 <listitem>
324 <para>
325 is a client used to connect to VNC desktops.
326 </para>
327 <indexterm zone="tigervnc vncviewer">
328 <primary sortas="b-vncviewer">vncviewer</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 <varlistentry id="x0vncserver">
334 <term><command>x0vncserver</command></term>
335 <listitem>
336 <para>
337 is a program to make an X display on a physical
338 terminal accessible via TigerVNC or compatible viewers.
339 </para>
340 <indexterm zone="tigervnc x0vncserver">
341 <primary sortas="b-x0vncserver">x0vncserver</primary>
342 </indexterm>
343 </listitem>
344 </varlistentry>
345
346 </variablelist>
347
348 </sect2>
349
350</sect1>
Note: See TracBrowser for help on using the repository browser.