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