How to Install Tiger VNC on Fedora Server Latest?
Tiger VNC is a high-performance, platform-independent software for remote desktop access. In this tutorial, we will guide you on how to install Tiger VNC on Fedora Server Latest.
Prerequisites
Before installing Tiger VNC on Fedora Server Latest, you will need the following:
- A running Fedora Server Latest installation.
- A user with sudo privileges.
Installation
Follow the steps below to install Tiger VNC on Fedora Server Latest:
Step 1: Install the Tiger VNC packages
Open the terminal window on your Fedora Server Latest.
Type the following command to install Tiger VNC packages:
sudo dnf install tigervnc-server tigervnc-server-modulePress
Ywhen prompted to confirm the installation.
Step 2: Configure the VNC Server
Create a new VNC user with a password using the
vncpasswdcommand. Replace<username>with the desired username:vncpasswd <username>Create a new VNC service file named
vncserver@:1.service, which will automatically start the VNC server when the system boots. Type the following command:sudo vi /etc/systemd/system/vncserver@:1.serviceAdd the following content to the file:
[Unit] Description=Remote desktop service (VNC) After=syslog.target network.target [Service] Type=forking User=<username> WorkingDirectory=/home/<username> PIDFile=/home/<username>/.vnc/%H:1.pid ExecStart=/usr/bin/vncserver :1 -geometry 1280x1024 -depth 24 -name Fedora ExecStop=/usr/bin/vncserver -kill :1 [Install] WantedBy=multi-user.targetSave and close the file by pressing
Esc, typing:wq, and then pressingEnter.Start the VNC server using the following command:
sudo systemctl start vncserver@:1.serviceEnable the VNC server to start automatically at system boot:
sudo systemctl enable vncserver@:1.service
Step 3: Configure Firewall Settings
Allow the VNC server to listen for incoming connections on TCP port 5901 by typing:
sudo firewall-cmd --add-port=5901/tcp --permanentReload the firewall for the changes to take effect:
sudo firewall-cmd --reload
Conclusion
In this tutorial, we have guide you on how to install Tiger VNC on Fedora Server Latest, create a new VNC user and configure it, and allow the VNC server to listen for incoming connections by configuring firewall settings. You may now remotely access and control your Fedora Server instance through a VNC viewer.