source: xsoft/other/tigervnc.xml@ d6c6562

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

Remove gcc7 entity

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

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