How to Install Your Own VNC Server – Fedora / CentOS

Michael Douse
by Atlantic.Net (9posts) under Cloud Hosting
Verified and Tested 2/4/15


In this guide, we will go over how to install your own VNC server on a Fedora or CentOS cloud server. This will allow you to connect and view common Linux desktop Graphical User Interfaces such as GNOME and KDE.


A Fedora or CentOS VPS with root permissions.

A Desktop Environment (GUI) such as GNOME or KDE

Installing a VNC server

Install the VNC server. In this example, we will use TigerVNC. For information on TigerVNC, visit the following site:

yum install tigervnc-server -y

If using a newer version of Fedora, use the DNF package manager:

dnf install tigervnc-server -y

Set the VNC password for root


(Optional) If you want to set the VNC password for another user:

su <otheruser>

Start the VNC server, create a window (session), and choose output resolution:

vncserver :1 -geometry 1024x768 -depth 24
vncserver :1 -geometry 1024x768 -depth 24

Set Display

You can check current active VNC windows with the “vncserver –list” command.

vncserver -list
vncserver -list

vncserver -list

Try connecting with a VNC client of your choice. Notice I am connecting using the server IP and the VNC window that I declared earlier.

Sample VNC Viewer

Sample VNC Viewer

Sample VNC Viewer Authentication

Sample VNC Viewer

VNC Viewer Information

VNC Viewer Information

In this example, I am connected to a private cloud server with GNOME installed.

Related Posts

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4