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. To use VNC you must have TCP/IP connection and VNC viewer client to connect to a computer running VNC server component. The server transmits a duplicate display of a remote computer to the viewer.
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 6.
Step 1. First, you need to update the system to ensure that we have all of the latest software installed.
Step 2. Install required packages.
Step 2. Enabling VNC Server service.
Step 4. Create VNC password for user.
Step 5. Configure VNC server.
Add the following to the end of the file:
Step 6. Configure firewall rules to allow the VNC connection.
Step 7. Setting Gnome session VNC.
Restart VNC service.
Now kill the VNC Server:
Edit the xstartup file in .vnc directory:
Comment the last line and run the Gnome:
Restart the service:
Now go to your Windows or Linux machine and download VNC Viewer client and install in your system to access the desktop. Now you can able to connect VNC server using IP and Port ( Eg : 192.168.1.10:1) and you will be asked to enter the password, enter the password that you have created earlier.
Congratulation’s! You have successfully installed VNC server. Thanks for using this tutorial for installing VNC server on CentOS 6 system.