Virtual Network Computing, or VNC, is a connection system that allows you to use your keyboard and mouse to interact with a graphical desktop environment on a remote server. It makes managing files, software, and settings on a remote server easier for users who are not yet comfortable with the command line.
Installation:
As root user:
1) Install the
following rpms:
yum install
xorg-x11-xauth xterm
yum install
tigervnc-server
yum -y install xterm*
xorg* xclock xauth
2) Enable the
firewall daemon process
systemctl status
firewalld
vncserver :2
4) Check if availability of 5902 port [2
as VNC port, if its 1 then post would be 5901…so on]
5) Add rule in ip table to allow traffic
to 5902 port
iptables -I INPUT -m state --state NEW -p tcp --destination-port 8001 -j ACCEPT
fir firewall-cmd --zone=public --add-port=5902/tcp --permanent
fir firewall-cmd --reload
6) Access vnc.