Linux serverNETWORK ADMINISTRATIONS

How to Install VNC Server in Centos 7

In this video, we will lean about how to install VNC Server in Centos 7.

Step:1 Make Sure the Desktop Packages are installed
#yum groupinstall “GNOME Desktop”

Step:2 Install Tigervnc and other dependency Package.
#yum install tigervnc-server xorg-x11-fonts-Type1 -y
#yum install tigervnc-server tigervnc-server-module -y

Step:3: Disable SElinux:
#setenforce 0
#sed -i –follow-symlinks ‘s/SELINUX=enforcing/SELINUX=disabled/g’ /etc/sysconfig/selinux

Step:4 Create new user for vnc
#Set VNC Password for Local User:

Step:5 Setup VNC Server Configuration File.
#cp /lib/systemd/system/vncserver@.service /etc/systemd/system/vncserver@:3.service

Step:6 Update the User’s Information in the Config File
#vim /etc/systemd/system/vncserver@:3.service

Set the Firewall Rule if firewall is enabled on your Linux box.

#firewall-cmd –permanent –zone=public –add-port=5903/tcp
#firewall-cmd –reload

Step:6 Start the VNC Services:
#systemctl daemon-reload
#systemctl start vncserver@:3.service
#systemctl enable vncserver@:3.service
#systemctl status vncserver@:3.service

Website:
http://www.itgurupro.com
YouTube:
https://www.youtube.com/channel/UCzL_QWenCV_KoTzL0_qdLiQ
LinkedIn:
https://www.linkedin.com/in/itgurupro1/
Facebook:
https://www.facebook.com/itgurupro
Twitter:

#vpnserver #vpnserverincentos #vncserverinstallation

source

centos 7

Leave a Reply

Your email address will not be published. Required fields are marked *