What is VNC server and how to install VNC server on a remote machine?
1. What is VNC server and how its work?
How to install VNC server and access a remote machine, you will learn here in this post.
VNC server is also called virtual network computing. VNC help to connect remote machine and provide GUI to access it.
2. Download vnc server rpm package from this url
after downloading all 4 packages from this VNC server website.
Move to VNC server package to one yum rpm directory.
You will see 4 rpm Packages by the name of TIGERVNC server. Install all the packages one by one on remote Linux machine.
Installation of VNC server rpm package in Linux command.
#rpm -ivh tigervnc-*
After once installation of VNC server. you can start VNC server by bellow commands.
3. Start VNC server in the remote Linux machine.
# vncserver :port number
# vncserver :2
4. Disable Firewall in remote Linux machine to make a connection from host to remote.
Check your remote Linux machine IP.
# ifconfig | grep inet
Stop your Linux machine firewall by below command to connect to Linux machine.
# service firewalld stop (for RedHat Enterprise Linux)
#service iptables stop (Oracle Enterprise Linux)
5. Start VNC server/ viewer in the Windows host machine.
Download VNC server for windows to view the Linux machines.
Run VNC server from the search panel.
Open VNC viewer in your windows machine to connect a remote machine.
Your remote machine IP:Port
Give the password you gave on the remote machine.
You will get GUI remote from your remote machine over your host machine.