To start automatically, enter the following command systemctl daemon-reload systemctl start :3.service systemctl enable :3.service Please note: The VNC service needs to be started manually after each reboot. firewall-cmd -permanent -zone=public -add-port=5903/tcp firewall-cmd -reloadħ- To run the VNC service, enter the following commands after each reboot. su eldernodeĥ- Enter the VNCServer command and add the VNC password for the corresponding user. useradd eldernode passwd eldernodeģ- After creating the user with the vi editor, open the file / etc/systemd/system/ :3.serviceĤ- Replace your built user in the parts you see the word.ĥ- Go to the user interface you created. Keep in mind that root users cannot be used to connect to VNC. cp/lib/systemd/system/ /etc/systemd/system :3.serviceĢ- Before setting up VNC, create a user to use it. If you want to use port 5901 or 5902, enter 1 or 2 instead of 3, respectively. In this command, we added the number 3, which means using port 5903. Please note: at this point you need to specify the port, which the VNC is using. Recommended Article: How to install Joomla on Debian 10 VNC settings on CentOS 7 Linux The installation is complete now, and we will proceed to the VNC settings on the CentOS 7 Linux. yum install tigervnc-server xorg-x11-fonts-Type1 Make sure the Gnome environment is fully installed.Ģ- After installing the Gnome graphics environment, enter the following command to download and install VNC. Linux CentOS 7, as well as other Linux distributions, does not have the ability to control it by default from a remote graphical environment.īefore starting the VNC installation and setup process, update your CentOS 7 with the command below yum updateġ- First, install the Gnome graphics environment on CentOS 7 Linux. So they are interested in working with Linux in a remote graphical environment. But for some users, working with Linux commands is a bit annoying. Users generally use the terminal environment and SSH service to work with Linux servers. As you already learned how to install VNC on CentOS 6, in this article we are going to learn how to install VNC on CentOS 7 Linux.
0 Comments
Leave a Reply. |