How To Install VNC Server on CentOS 7

r00t April 1, 2015

vnc-server-logo

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 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.

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

Step 2. Install 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 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 : 192.168.2.109:5 ) and you will be asked to enter the password, enter the password that you have created earlier.

VNC-authendication-CentOS-7-

CentOS-7-VNC-Desktop

Congratulation’s! You have successfully installed 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 a best deal!
Share on Google+3Share on Facebook0Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon1Share on Reddit1Pin on Pinterest2
The Tags:

Leave a Comment