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:

Installation

Follow the steps below to install Tiger VNC on Fedora Server Latest:

Step 1: Install the Tiger VNC packages

  1. Open the terminal window on your Fedora Server Latest.

  2. Type the following command to install Tiger VNC packages:

    sudo dnf install tigervnc-server tigervnc-server-module
    
  3. Press Y when prompted to confirm the installation.

Step 2: Configure the VNC Server

  1. Create a new VNC user with a password using the vncpasswd command. Replace <username> with the desired username:

    vncpasswd <username>
    
  2. 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.service
    
  3. Add 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.target
    
  4. Save and close the file by pressing Esc, typing :wq, and then pressing Enter.

  5. Start the VNC server using the following command:

    sudo systemctl start vncserver@:1.service
    
  6. Enable the VNC server to start automatically at system boot:

    sudo systemctl enable vncserver@:1.service
    

Step 3: Configure Firewall Settings

  1. Allow the VNC server to listen for incoming connections on TCP port 5901 by typing:

    sudo firewall-cmd --add-port=5901/tcp --permanent
    
  2. Reload 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.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!