Howto install and configure VNC Server on Fedora 18

Howto install and configure VNC Server on Fedora 18


1. Use yum to install tigervnc-server:

[root@dhcppc2 ~]# yum -y install tigervnc-server
Loaded plugins: langpacks, presto, refresh-packagekit
fedora/18/i386/metalink | 8.9 kB 00:00
updates/18/i386/metalink | 6.6 kB 00:00
Resolving Dependencies
–> Running transaction check
—> Package tigervnc-server.i686 0:1.2.80-0.8.20130124svn5036.fc18 will be inst alled
–> Processing Dependency: tigervnc-server-minimal for package: tigervnc-server- 1.2.80-0.8.20130124svn5036.fc18.i686
–> Running transaction check
—> Package tigervnc-server-minimal.i686 0:1.2.80-0.8.20130124svn5036.fc18 will be installed
–> Processing Dependency: tigervnc-license for package: tigervnc-server-minimal -1.2.80-0.8.20130124svn5036.fc18.i686
–> Running transaction check
—> Package tigervnc-license.noarch 0:1.2.80-0.8.20130124svn5036.fc18 will be i nstalled
–> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository
tigervnc-server i686 1.2.80-0.8.20130124svn5036.fc18 updates 205 k
Installing for dependencies:
tigervnc-license noarch 1.2.80-0.8.20130124svn5036.fc18 updates 22 k
tigervnc-server-minimal i686 1.2.80-0.8.20130124svn5036.fc18 updates 1.0 M

Transaction Summary
Install 1 Package (+2 Dependent packages)

Total download size: 1.2 M
Installed size: 3.0 M
Downloading Packages:
warning: /var/cache/yum/i386/18/updates/packages/tigervnc-license-1.2.80-0.8.201 30124svn5036.fc18.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID de7f38bd: N OKEY
Public key for tigervnc-license-1.2.80-0.8.20130124svn5036.fc18.noarch.rpm is no t installed
(1/3): | 22 kB 00:07
(2/3): tigervnc-server-1.2.80-0.8.20130124svn5036.fc18.i68 | 205 kB 00:09
(3/3): tigervnc-server-minimal-1.2.80-0.8.20130124svn5036. | 1.0 MB 00:12
Total 88 kB/s | 1.2 MB 00:14
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
Importing GPG key 0xDE7F38BD:
Userid : “Fedora (18) <>”
Fingerprint: 7efb 8811 dd11 e380 b679 fced ff01 125c de7f 38bd
Package : fedora-release-18-1.noarch (@anaconda)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : tigervnc-license-1.2.80-0.8.20130124svn5036.fc18.noarch 1/3
Installing : tigervnc-server-minimal-1.2.80-0.8.20130124svn5036.fc18.i6 2/3
Installing : tigervnc-server-1.2.80-0.8.20130124svn5036.fc18.i686 3/3
Verifying : tigervnc-server-minimal-1.2.80-0.8.20130124svn5036.fc18.i6 1/3
Verifying : tigervnc-server-1.2.80-0.8.20130124svn5036.fc18.i686 2/3
Verifying : tigervnc-license-1.2.80-0.8.20130124svn5036.fc18.noarch 3/3

tigervnc-server.i686 0:1.2.80-0.8.20130124svn5036.fc18

Dependency Installed:
tigervnc-license.noarch 0:1.2.80-0.8.20130124svn5036.fc18
tigervnc-server-minimal.i686 0:1.2.80-0.8.20130124svn5036.fc18


2. Switch to a user you’d like to config VNC:

[root@dhcppc2 ~]# su john

3. Set VNC password for vnc user:

[john@dhcppc2 root]$ vncpasswd

4. Start VNC Server:

[john@dhcppc2 root]$ vncserver :1 -geometry 800×600 -depth 24
xauth: file /home/john/.Xauthority does not exist
xauth: (stdin):1: bad display name “dhcppc2:1” in “add” command

New ‘dhcppc2:1 (john)’ desktop is dhcppc2:1

Creating default startup script /home/john/.vnc/xstartup
Starting applications specified in /home/john/.vnc/xstartup
Log file is /home/john/.vnc/dhcppc2:1.log

5. Use VNC Viewer to connect to your VNC Server:

6. Type your VNC password to connect:

7. Now you can use Fedora 18 remotely:

That’s all

Thanks for using

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>