Articles on: Application Recipe Guides

Installing VNC on CentOS 7

Install VNC with GNOME 3 on a CentOS 7 instance

VNC or Virtual Network Computing is a platform-independent protocol that enables users to connect to a remote computer system and use its resources from a Graphical User Interface (GUI).

It's like remote controlling an application: the client computer's keystrokes or mouse clicks are transmitted over the network to the remote computer. VNC also allows clipboard sharing between both computers. If you come from a Microsoft Windows server background, VNC is much like the Remote Desktop Service, except it's also available for OS X, Linux, and other operating systems.

Like everything else in the networking world, VNC is based on the client-server model: VNC server runs on a remote computer — your Instance — which serves incoming client requests.

For a one-click installation of VNC and GNOME run the following script:

[root@cloudcone ~]$ mkdir ~/cloudapps && cd ~/cloudapps && wget -q http://mirror.cloudcone.net/centos/7/apps/install-vnc.sh -O ~/cloudapps/install-vnc.sh && bash ~/cloudapps/install-vnc.sh && rm -rf ~/cloudapps && cd


After the installation is complete, you can either use a VNC client like VNC Viewer by RealVNC or else you can connect via VNC from the client area after executing the below code:

[root@cloudcone ~]$ systemctl set-default graphical.target


Congratulations! You have successfully installed VNC on CentOS 7!

Updated on: 01/20/2018

Was this article helpful?

Share your feedback

Cancel

Thank you!