How to install the VNC to CentOS7


I explain how to Install the VNC to CentOS7.

Installation of the package

Registration of VNC user's password

Switch to the user you want to log in with VNC, and set the password

An automatic start-up setting of the service in systemctl


Change the user name to log in the in the /etc/systemd/system/vncserver@:2.service file

Editing is to read the systemd in the configuration file when you are finished.

Automatic start-up setting of the VNC service

Starting the VNC service

Setting the screen size

In order to change the screen size, modify the following lines.