How To Install VNC Server on CentOS 7

Install VNC Server on CentOS 7

In this tutorial, we will show you how to install VNC Server on CentOS 7. For those of you who didn’t know, VNC (Virtual Network Computing) server is a free and open-source software which is designed for allowing remote access to the Desktop Environment of the server to the VNC Client whereas  VNC viewer is used on the remote computer to connect to the server.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation VNC server on CentOS 7.

Install VNC Server on CentOS 7

Step 1. First, you need to update the system to ensure that we have all of the latest software installed.

Step 2. Install the Gnome desktop.

Step 3. Install tigervnc server and X11 fonts.

Copy the VNC server configuration file to /etc/systemd/system/ for configuring the system service. While copying, you can mention which port it should listen. By default VNC server listens on 5900:

Edit VNC server file configuration:

Step 4. Configure firewall rules to allow the VNC connection.

Step 5. Start the VNC server.

Set the password.

Step 6. Enabling and starting the VNC service

Reload the systemctl daemon as root.

Start the VNC service as root:

Enable it on system startup as root:

Step 7. Now you can able to connect VNC server using IP and Port ( Eg : ) and you will be asked to enter the password, enter the password that you have created earlier.

Install VNC Server on CentOS 7

Install VNC Server on CentOS 7

Congratulations! You have successfully installed the VNC server. Thanks for using this tutorial for installing VNC server on CentOS 7 system.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!