mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
19ea489972
Update to glib-2.62.3. Update to unbound-1.9.5. Update to icu-65.1. Update to pycryptodome-3.9.4 (python module). Update to vala-0.46.5. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22395 af4574ff-66df-0310-9fd7-8a98e5e911e0
301 lines
10 KiB
XML
301 lines
10 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY tigervnc-download-http "https://github.com/TigerVNC/tigervnc/archive/v&tigervnc-version;/tigervnc-&tigervnc-version;.tar.gz">
|
|
<!ENTITY tigervnc-download-ftp " ">
|
|
<!ENTITY tigervnc-md5sum "7ba5817a33cefabeafa5cd9a5a273fe1">
|
|
<!ENTITY tigervnc-size "1.3 MB">
|
|
<!ENTITY tigervnc-buildsize "94 MB">
|
|
<!ENTITY tigervnc-time "1.2 SBU">
|
|
<!ENTITY tigervnc-xorg-version "1.20.4">
|
|
]>
|
|
|
|
<sect1 id="tigervnc" xreflabel="tigervnc-&tigervnc-version;">
|
|
<?dbhtml filename="tigervnc.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Tigervnc-&tigervnc-version;</title>
|
|
|
|
<indexterm zone="tigervnc">
|
|
<primary sortas="a-tigervnc">tigervnc</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Tigervnc</title>
|
|
|
|
<para><application>Tigervnc</application> is an advanced VNC (Virtual
|
|
Network Computing) implementation. It allows creation of an Xorg server
|
|
not tied to a physical console and also provides a client for
|
|
viewing of the remote graphical desktop.
|
|
</para>
|
|
|
|
&lfs90_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Download (HTTP): <ulink url="&tigervnc-download-http;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download (FTP): <ulink url="&tigervnc-download-ftp;"/></para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download MD5 sum: &tigervnc-md5sum;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Download size: &tigervnc-size;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated disk space required: &tigervnc-buildsize;</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>Estimated build time: &tigervnc-time;</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Required file:
|
|
<ulink url="&xorg-download-http;/xserver/xorg-server-&tigervnc-xorg-version;.tar.bz2"/>
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<note><para>The version of <application>Xorg</application> may eventually be
|
|
a few versions out of date, but is required for the customizations needed
|
|
for this package.</para></note>
|
|
|
|
<bridgehead renderas="sect3">Tigervnc Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="cmake"/>,
|
|
<xref linkend="fltk"/>,
|
|
<xref linkend="gnutls"/>,
|
|
<xref linkend="libgcrypt"/>,
|
|
<xref linkend="libjpeg"/>,
|
|
<xref linkend="pixman"/>,
|
|
<xref linkend="xorg7-app"/>, and
|
|
<xref linkend="xorg7-legacy"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="imagemagick"/> and
|
|
<xref linkend="linux-pam"/>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/tigervnc"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Tigervnc</title>
|
|
|
|
<para>Install <application>tigervnc</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput># Put code in place
|
|
tar -xf ../xorg-server-&tigervnc-xorg-version;.tar.bz2 \
|
|
--strip-components=1 \
|
|
-C unix/xserver &&
|
|
( cd unix/xserver &&
|
|
patch -Np1 -i ../xserver120.patch ) &&
|
|
|
|
# Build viewer
|
|
cmake -G "Unix Makefiles" \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-Wno-dev &&
|
|
make &&
|
|
|
|
# Build server
|
|
pushd unix/xserver &&
|
|
autoreconf -fiv &&
|
|
|
|
CFLAGS="$CFLAGS -I/usr/include/drm" \
|
|
./configure $XORG_CONFIG \
|
|
--disable-xwayland --disable-dri --disable-dmx \
|
|
--disable-xorg --disable-xnest --disable-xvfb \
|
|
--disable-xwin --disable-xephyr --disable-kdrive \
|
|
--disable-devel-docs --disable-config-hal --disable-config-udev \
|
|
--disable-unit-tests --disable-selective-werror \
|
|
--disable-static --enable-dri3 \
|
|
--without-dtrace --enable-dri2 --enable-glx \
|
|
--with-pic &&
|
|
make &&
|
|
popd</userinput></screen>
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>#Install viewer
|
|
make install &&
|
|
|
|
#Install server
|
|
( cd unix/xserver/hw/vnc && make install ) &&
|
|
|
|
[ -e /usr/bin/Xvnc ] || ln -svf $XORG_PREFIX/bin/Xvnc /usr/bin/Xvnc</userinput></screen>
|
|
<!-- These are installed as part of 'make install' for the client.
|
|
<para>Finally, create a menu entry. As the
|
|
<systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>cat > /usr/share/applications/vncviewer.desktop << "EOF"
|
|
<literal>[Desktop Entry]
|
|
Type=Application
|
|
Name=TigerVNC Viewer
|
|
Comment=VNC client
|
|
Exec=/usr/bin/vncviewer
|
|
Icon=tigervnc
|
|
Terminal=false
|
|
StartupNotify=false
|
|
Categories=Network;RemoteAccess;</literal>
|
|
EOF
|
|
|
|
install -vm644 media/icons/tigervnc_24.png /usr/share/pixmaps &&
|
|
ln -sfv tigervnc_24.png /usr/share/pixmaps/tigervnc.png</userinput></screen>
|
|
-->
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><command>tar -xf .. xorg-server...</command>: This command extracts the
|
|
standard Xorg package into the tree in a location needed for modification.</para>
|
|
|
|
<para><option>--disable ...</option>: Most options that are usually needed for
|
|
the standard Xorg server are not needed for the Xvnc instance being built.</para>
|
|
|
|
<para><command>[ -e /usr/bin/Xvnc ] || ln ... Xvnc</command>: If the Xvnc server
|
|
is not installed in the <filename class='directory'>/usr/bin</filename>
|
|
directory, then create a link so the <command>vncserver</command> script
|
|
can find it.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="configuration">
|
|
<title>Configuring Tigervnc</title>
|
|
|
|
<para>The user specific configuration files of vncserver resides
|
|
in the <filename class='directory'>.vnc</filename> directory in the user's
|
|
home directory. The <filename>xstartup</filename> file in that
|
|
directory is a script specifying what commands to be run
|
|
when a VNC desktop is started. If no <filename>xstartup</filename> file
|
|
exists, <command>vncserver</command> will try to start an xterm in a twm
|
|
session. An example <filename>xstartup</filename> would be:</para>
|
|
|
|
<screen>#!/bin/sh
|
|
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
|
|
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
|
|
startlxde &</screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>Xvnc,
|
|
vncconfig,
|
|
vncpasswd,
|
|
vncserver,
|
|
vncviewer, and
|
|
x0vncserver</seg>
|
|
|
|
<seg>libvnc.so</seg>
|
|
<seg>/usr/share/doc/tigervnc-&tigervnc-version;</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="xvnc">
|
|
<term><command>Xvnc</command></term>
|
|
<listitem>
|
|
<para> is a X VNC (Virtual Network Computing) server.
|
|
It is based on a standard X server, but it has a
|
|
"virtual" screen rather than a physical one.</para>
|
|
<indexterm zone="tigervnc xvnc">
|
|
<primary sortas="b-xvnc">Xvnc</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="vncconfig">
|
|
<term><command>vncconfig</command></term>
|
|
<listitem>
|
|
<para>is a program to configure and control a VNC server.</para>
|
|
<indexterm zone="tigervnc vncconfig">
|
|
<primary sortas="b-vncconfig">vncconfig</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="vncpasswd">
|
|
<term><command>vncpasswd</command></term>
|
|
<listitem>
|
|
<para>
|
|
allows you to set the password used to access VNC desktops.
|
|
</para>
|
|
<indexterm zone="tigervnc vncpasswd">
|
|
<primary sortas="b-vncpasswd">vncpasswd</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="vncserver">
|
|
<term><command>vncserver</command></term>
|
|
<listitem>
|
|
<para>is a perl script used to start or stop a VNC server.</para>
|
|
<indexterm zone="tigervnc vncserver">
|
|
<primary sortas="b-vncserver">vncserver</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="vncviewer">
|
|
<term><command>vncviewer</command></term>
|
|
<listitem>
|
|
<para>is a client used to connect to VNC desktops.</para>
|
|
<indexterm zone="tigervnc vncviewer">
|
|
<primary sortas="b-vncviewer">vncviewer</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="x0vncserver">
|
|
<term><command>x0vncserver</command></term>
|
|
<listitem>
|
|
<para>is a program to make an X display on a physical
|
|
terminal accessible via TigerVNC or compatible viewers.</para>
|
|
<indexterm zone="tigervnc x0vncserver">
|
|
<primary sortas="b-x0vncserver">x0vncserver</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|