7/7/2023 0 Comments Tigervnc multimonFirst, let’s add the service to our startup menu to launch automatically even after a reboot. We have done all the necessary configurations up to this point, and we can now start the VNC server. If you have more users, map them to ports :2, :3, :4, and so on. To do so, we will edit the ers file present in /etc/tigervnc directory.Įxecute the command below to edit the file with nano editor. Now, if you have multiple users on your system, you can map each one of them to a particular port. If running on port 5902, you would see :2, port 5903 would be represented as :3, and so on. What this means is that VNC is running on port 5901. When you launch a VNC instance on your server, you will see an argument like :1. Here, the session arguments show the Desktop Environment that TigerVNC will use, and geometry sets the resolution of the Desktop Environment as viewed on the user local PC. Execute the command below to open and edit the file using the nano editor. We will do this by editing the configuration file present in the ~/.vnc/config directory. I will enter N.Īfter setting up a password, we now need to configure the Desktop Environment that TigerVNC will use when launched. For this tutorial, I don’t need a view-only password. That is a reliable feature if you want to present something to a group of people. That means that users who access the VNC connection using that password will not send any mouse clicks or keyboard strokes to the remote system. You will see a prompt, Would you like to enter a view-only password ( Y/N). Any password of more than eight characters will be truncated to 8. Important: Additionally, this password should be between 6-8 characters. In my case, it’s edxd.Įxecute the command below without sudo privileges. VNC Initial Configuration – Setup PasswordĮxecute the command below to set up the password for the currently logged-in user. sudo dnf install tigervnc-serverĪfter successfully installing TigerVNC, we will need to perform several configurations to have the VNC server running. Execute the command below on your Terminal. For this particular tutorial, we will install TigerVNC. They include RealVNC, X11VNC, TigerVNC, TurboVNC, etc. There are several VNC applications available for Linux. Once the installation completes, we will install our VNC server. However, that will also depend on your internet speed. GNOME is quite a large package, and the process might take a while to complete. This command will install the GNOME Desktop Environment. If you’d like a different desktop environment then feel free to install another one from the section covering desktop environments below, and then you can return here and continue the tutorial. Else, execute the command below on your Terminal to install the necessary GUI packages. If you already have GUI installed, you can skip this step. When you connect to your remote CentOS system using VNC, what you access is the Desktop Interface. If you are running a headless (without graphical Desktop interface) CentOS system, you will first need to install the GUI. If you’re on Linux then I prefer Remmina, although there are other great and popular choices such as Vinagre.īefore we start let’s also update our package index and upgrade our existing packages to the latest version: sudo dnf update & sudo dnf upgrade Step 1. You can choose your OS and download Real VNC Viewer here. The one I’m using in this tutorial is Real VNC Viewer.It’s available for Windows, macOS, Linux, Android, and others. There are some popular VNC viewers that you can choose from. The VNC Client is the software you will use to connect to the remote computer. A VNC Client (also called VNC Viewer) installed on your local computer.You can also act as root, however it’s not recommended, especially if you’re working on a “sensitive” system, since you can harm it if you’re not careful. If you don’t have one already, you can quickly create one by using our tutorial How to Create a Sudo User in CentOS. A machine running CentOS 8, Rocky Linux 8, AlmaLinux 8, or similar.Setting the Desktop Environment in the ~/.vnc/config File.Configuring VNC to Use Other Desktop Environments (And Switching Between Them).Set up an SSH Tunnel with Your Terminal.VNC Initial Configuration – Setup Password
0 Comments
Leave a Reply. |