source: xsoft/other/tigervnc.xml@ 7226770c

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 7226770c was c9ea6c54, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Tags

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

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