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.
Before installing Tiger VNC on Fedora Server Latest, you will need the following:
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-module
Press Y
when prompted to confirm the installation.
Step 2: Configure the VNC Server
Create a new VNC user with a password using the vncpasswd
command. 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.service
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
Save and close the file by pressing Esc
, typing :wq
, and then pressing Enter
.
Start the VNC server using the following command:
sudo systemctl start vncserver@:1.service
Enable 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 --permanent
Reload the firewall for the changes to take effect:
sudo firewall-cmd --reload
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!