Howto install and configure VNC Server on Fedora 17

Howto install and configure VNC Server on Fedora 17

1. Install VNC Server for Fedora 17 by yum:

[root@fedora17 ~]# yum -y install tigervnc-server

Install 1 Package (+40 Dependent packages)

Total download size: 33 M
Installed size: 108 M
Downloading Packages:
(1/41): gnutls-2.12.20-4.fc17.i686.rpm | 378 kB 00:00
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 1aca3465: NOK EY
Public key for gnutls-2.12.20-4.fc17.i686.rpm is not installed
(2/41): libICE-1.0.8-1.fc17.i686.rpm | 60 kB 00:00
Public key for libICE-1.0.8-1.fc17.i686.rpm is not installed
(3/41): libSM-1.2.1-1.fc17.i686.rpm | 36 kB 00:00
(4/41): libX11-1.5.0-2.fc17.i686.rpm | 590 kB 00:01
(5/41): libX11-common-1.5.0-2.fc17.noarch.rpm | 181 kB 00:00
(6/41): libXau-1.0.6-3.fc17.i686.rpm | 24 kB 00:00
(7/41): libXdmcp-1.1.1-1.fc17.i686.rpm | 30 kB 00:00
(8/41): libXext-1.3.1-1.fc17.i686.rpm | 34 kB 00:00
(9/41): libXfont-1.4.5-1.fc17.i686.rpm | 135 kB 00:00
(10/41): libXi-1.6.1-1.fc17.i686.rpm | 35 kB 00:00
(11/41): libXmu-1.1.0-3.fc17.i686.rpm | 63 kB 00:00
(12/41): libXt-1.1.2-2.fc17.i686.rpm | 181 kB 00:00
(13/41): libXtst-1.2.0-3.fc17.i686.rpm | 26 kB 00:00
(14/41): libfontenc-1.1.0-2.fc17.i686.rpm | 26 kB 00:00
(15/41): libjpeg-turbo-1.2.1-1.fc17.i686.rpm | 122 kB 00:00
(16/41): libtasn1-2.12-1.fc17.i686.rpm | 320 kB 00:00
(17/41): libxcb-1.9-1.fc17.i686.rpm | 153 kB 00:00
(18/41): libxkbfile-1.0.8-1.fc17.i686.rpm | 78 kB 00:00
(19/41): llvm-libs-3.0-14.fc17.i686.rpm | 6.1 MB 00:12
(20/41): mesa-dri-drivers-8.0.4-1.fc17.i686.rpm | 12 MB 00:25
(21/41): mesa-dri-filesystem-8.0.4-1.fc17.i686.rpm | 24 kB 00:00
(22/41): p11-kit-0.12-1.fc17.i686.rpm | 36 kB 00:00
(23/41): perl-5.14.3-218.fc17.i686.rpm | 9.8 MB 00:26
(24/41): perl-Carp-1.22-2.fc17.noarch.rpm | 17 kB 00:00
(25/41): perl-Module-Pluggable-3.90-218.fc17.noarch.rpm | 48 kB 00:00
(26/41): perl-PathTools-3.33-218.fc17.i686.rpm | 106 kB 00:01
(27/41): perl-Pod-Escapes-1.04-218.fc17.noarch.rpm | 41 kB 00:00
(28/41): perl-Pod-Simple-3.16-218.fc17.noarch.rpm | 223 kB 00:01
(29/41): perl-Scalar-List-Utils-1.25-1.fc17.i686.rpm | 34 kB 00:00
(30/41): perl-Socket-2.001-1.fc17.i686.rpm | 44 kB 00:00
(31/41): perl-libs-5.14.3-218.fc17.i686.rpm | 637 kB 00:02
(32/41): perl-macros-5.14.3-218.fc17.i686.rpm | 33 kB 00:00
(33/41): perl-threads-1.86-2.fc17.i686.rpm | 47 kB 00:00
(34/41): perl-threads-shared-1.40-2.fc17.i686.rpm | 36 kB 00:00
(35/41): pixman-0.24.4-2.fc17.i686.rpm | 222 kB 00:00
(36/41): tigervnc-license-1.1.0-6.1.fc17.noarch.rpm | 20 kB 00:00
(37/41): tigervnc-server-1.1.0-6.1.fc17.i686.rpm | 159 kB 00:00
(38/41): tigervnc-server-minimal-1.1.0-6.1.fc17.i686.rpm | 920 kB 00:02
(39/41): xkeyboard-config-2.5.1-3.fc17.noarch.rpm | 692 kB 00:01
(40/41): xorg-x11-xauth-1.0.7-1.fc17.i686.rpm | 26 kB 00:00
(41/41): xorg-x11-xkb-utils-7.5-6.fc17.i686.rpm | 85 kB 00:00
——————————————————————————–
Total 393 kB/s | 33 MB 01:26
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
Importing GPG key 0x1ACA3465:
Userid : “Fedora (17) <fedora@fedoraproject.org>”
Fingerprint: cac4 3fb7 74a4 a673 d81c 5de7 50e9 4c99 1aca 3465
Package : fedora-release-17-1.noarch (@anaconda-0)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 1:perl-Pod-Escapes-1.04-218.fc17.noarch 1/41
Installing : 4:perl-libs-5.14.3-218.fc17.i686 2/41
Installing : perl-PathTools-3.33-218.fc17.i686 3/41
Installing : perl-threads-1.86-2.fc17.i686 4/41
Installing : perl-Scalar-List-Utils-1.25-1.fc17.i686 5/41
Installing : perl-threads-shared-1.40-2.fc17.i686 6/41
Installing : 1:perl-Module-Pluggable-3.90-218.fc17.noarch 7/41
Installing : perl-Carp-1.22-2.fc17.noarch 8/41
Installing : perl-Socket-2.001-1.fc17.i686 9/41
Installing : 4:perl-macros-5.14.3-218.fc17.i686 10/41
Installing : 1:perl-Pod-Simple-3.16-218.fc17.noarch 11/41
Installing : 4:perl-5.14.3-218.fc17.i686 12/41
Installing : libICE-1.0.8-1.fc17.i686 13/41
Installing : libSM-1.2.1-1.fc17.i686 14/41
Installing : libXau-1.0.6-3.fc17.i686 15/41
Installing : libtasn1-2.12-1.fc17.i686 16/41
Installing : tigervnc-license-1.1.0-6.1.fc17.noarch 17/41
Installing : xkeyboard-config-2.5.1-3.fc17.noarch 18/41
Installing : libX11-common-1.5.0-2.fc17.noarch 19/41
Installing : mesa-dri-filesystem-8.0.4-1.fc17.i686 20/41
Installing : libjpeg-turbo-1.2.1-1.fc17.i686 21/41
Installing : libxcb-1.9-1.fc17.i686 22/41
Installing : libX11-1.5.0-2.fc17.i686 23/41
Installing : libXext-1.3.1-1.fc17.i686 24/41
Installing : libXi-1.6.1-1.fc17.i686 25/41
Installing : libXtst-1.2.0-3.fc17.i686 26/41
Installing : libXt-1.1.2-2.fc17.i686 27/41
Installing : libXmu-1.1.0-3.fc17.i686 28/41
Installing : 1:xorg-x11-xauth-1.0.7-1.fc17.i686 29/41
Installing : libxkbfile-1.0.8-1.fc17.i686 30/41
Installing : xorg-x11-xkb-utils-7.5-6.fc17.i686 31/41
Installing : pixman-0.24.4-2.fc17.i686 32/41
Installing : libXdmcp-1.1.1-1.fc17.i686 33/41
Installing : p11-kit-0.12-1.fc17.i686 34/41
Installing : gnutls-2.12.20-4.fc17.i686 35/41
Installing : libfontenc-1.1.0-2.fc17.i686 36/41
Installing : libXfont-1.4.5-1.fc17.i686 37/41
Installing : llvm-libs-3.0-14.fc17.i686 38/41
Installing : mesa-dri-drivers-8.0.4-1.fc17.i686 39/41
Installing : tigervnc-server-minimal-1.1.0-6.1.fc17.i686 40/41
Installing : tigervnc-server-1.1.0-6.1.fc17.i686 41/41
Verifying : mesa-dri-drivers-8.0.4-1.fc17.i686 1/41
Verifying : 4:perl-5.14.3-218.fc17.i686 2/41
Verifying : 4:perl-libs-5.14.3-218.fc17.i686 3/41
Verifying : libX11-1.5.0-2.fc17.i686 4/41
Verifying : perl-threads-shared-1.40-2.fc17.i686 5/41
Verifying : 1:perl-Pod-Escapes-1.04-218.fc17.noarch 6/41
Verifying : libtasn1-2.12-1.fc17.i686 7/41
Verifying : libXt-1.1.2-2.fc17.i686 8/41
Verifying : 1:xorg-x11-xauth-1.0.7-1.fc17.i686 9/41
Verifying : mesa-dri-filesystem-8.0.4-1.fc17.i686 10/41
Verifying : perl-PathTools-3.33-218.fc17.i686 11/41
Verifying : 1:perl-Module-Pluggable-3.90-218.fc17.noarch 12/41
Verifying : perl-threads-1.86-2.fc17.i686 13/41
Verifying : libX11-common-1.5.0-2.fc17.noarch 14/41
Verifying : libXtst-1.2.0-3.fc17.i686 15/41
Verifying : libXi-1.6.1-1.fc17.i686 16/41
Verifying : perl-Scalar-List-Utils-1.25-1.fc17.i686 17/41
Verifying : libxcb-1.9-1.fc17.i686 18/41
Verifying : llvm-libs-3.0-14.fc17.i686 19/41
Verifying : perl-Carp-1.22-2.fc17.noarch 20/41
Verifying : libxkbfile-1.0.8-1.fc17.i686 21/41
Verifying : libXext-1.3.1-1.fc17.i686 22/41
Verifying : xkeyboard-config-2.5.1-3.fc17.noarch 23/41
Verifying : tigervnc-server-minimal-1.1.0-6.1.fc17.i686 24/41
Verifying : tigervnc-license-1.1.0-6.1.fc17.noarch 25/41
Verifying : libXfont-1.4.5-1.fc17.i686 26/41
Verifying : tigervnc-server-1.1.0-6.1.fc17.i686 27/41
Verifying : libfontenc-1.1.0-2.fc17.i686 28/41
Verifying : libSM-1.2.1-1.fc17.i686 29/41
Verifying : gnutls-2.12.20-4.fc17.i686 30/41
Verifying : perl-Socket-2.001-1.fc17.i686 31/41
Verifying : 4:perl-macros-5.14.3-218.fc17.i686 32/41
Verifying : p11-kit-0.12-1.fc17.i686 33/41
Verifying : 1:perl-Pod-Simple-3.16-218.fc17.noarch 34/41
Verifying : libICE-1.0.8-1.fc17.i686 35/41
Verifying : libjpeg-turbo-1.2.1-1.fc17.i686 36/41
Verifying : libXdmcp-1.1.1-1.fc17.i686 37/41
Verifying : xorg-x11-xkb-utils-7.5-6.fc17.i686 38/41
Verifying : pixman-0.24.4-2.fc17.i686 39/41
Verifying : libXau-1.0.6-3.fc17.i686 40/41
Verifying : libXmu-1.1.0-3.fc17.i686 41/41

Installed:
tigervnc-server.i686 0:1.1.0-6.1.fc17

Dependency Installed:
gnutls.i686 0:2.12.20-4.fc17
libICE.i686 0:1.0.8-1.fc17
libSM.i686 0:1.2.1-1.fc17
libX11.i686 0:1.5.0-2.fc17
libX11-common.noarch 0:1.5.0-2.fc17
libXau.i686 0:1.0.6-3.fc17
libXdmcp.i686 0:1.1.1-1.fc17
libXext.i686 0:1.3.1-1.fc17
libXfont.i686 0:1.4.5-1.fc17
libXi.i686 0:1.6.1-1.fc17
libXmu.i686 0:1.1.0-3.fc17
libXt.i686 0:1.1.2-2.fc17
libXtst.i686 0:1.2.0-3.fc17
libfontenc.i686 0:1.1.0-2.fc17
libjpeg-turbo.i686 0:1.2.1-1.fc17
libtasn1.i686 0:2.12-1.fc17
libxcb.i686 0:1.9-1.fc17
libxkbfile.i686 0:1.0.8-1.fc17
llvm-libs.i686 0:3.0-14.fc17
mesa-dri-drivers.i686 0:8.0.4-1.fc17
mesa-dri-filesystem.i686 0:8.0.4-1.fc17
p11-kit.i686 0:0.12-1.fc17
perl.i686 4:5.14.3-218.fc17
perl-Carp.noarch 0:1.22-2.fc17
perl-Module-Pluggable.noarch 1:3.90-218.fc17
perl-PathTools.i686 0:3.33-218.fc17
perl-Pod-Escapes.noarch 1:1.04-218.fc17
perl-Pod-Simple.noarch 1:3.16-218.fc17
perl-Scalar-List-Utils.i686 0:1.25-1.fc17
perl-Socket.i686 0:2.001-1.fc17
perl-libs.i686 4:5.14.3-218.fc17
perl-macros.i686 4:5.14.3-218.fc17
perl-threads.i686 0:1.86-2.fc17
perl-threads-shared.i686 0:1.40-2.fc17
pixman.i686 0:0.24.4-2.fc17
tigervnc-license.noarch 0:1.1.0-6.1.fc17
tigervnc-server-minimal.i686 0:1.1.0-6.1.fc17
xkeyboard-config.noarch 0:2.5.1-3.fc17
xorg-x11-xauth.i686 1:1.0.7-1.fc17
xorg-x11-xkb-utils.i686 0:7.5-6.fc17

Complete!

2. Install Desktop Environment for VNC Server:

[root@fedora17 ~]# yum -y groupinstall Xfce

3. Install switchdesk to switch another Desktop Environment for VNC client:

[root@fedora17 ~]# yum -y install switchdesk
Resolving Dependencies
–> Running transaction check
—> Package switchdesk.noarch 0:4.0.10-2.fc17 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================
Installing:
switchdesk noarch 4.0.10-2.fc17 fedora 24 k

Transaction Summary
========================================================================================================================================================================
Install 1 Package

Total download size: 24 k
Installed size: 23 k
Downloading Packages:
switchdesk-4.0.10-2.fc17.noarch.rpm | 24 kB 00:00
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : switchdesk-4.0.10-2.fc17.noarch 1/1
Verifying : switchdesk-4.0.10-2.fc17.noarch 1/1

Installed:
switchdesk.noarch 0:4.0.10-2.fc17

Complete!

4. Set VNC password for VNC user:

[root@fedora17 ~]#su – jackie

[jackie@fedora17 ~]$ vncpasswd
Password:
Verify:

5. Switch Desktop Environment for VNC user (jackie):

[jackie@fedora17 root]$ switchdesk xfce
Red Hat Linux switchdesk 4.0
Copyright (C) 1999-2010 Red Hat, Inc
Redistributable under the terms of the GNU General Public License
Desktop now set up to run xfce.

6. Start VNC Server:

[jackie@fedora17 root]$ vncserver :1 -geometry 800×600 -depth 24

7. Open your VNC viewer to connect to your VNC Server:

8. Type your VNC password

9. Now you can access your VNC Server from everywhere:

Thanks for using IThelpblog.com.

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>