sudo dnf install tigervnc-server
# Both needs to be executed (current runtime, next reboot)
sudo firewall-cmd --permanent --add-port=5900/tcp
sudo firewall-cmd --add-port=5900/tcp
echo {password} | vncpasswd -f > $HOME/.vnc/passwd
x0vncserver -display :0 -rfbauth $HOME/.vnc/passwd
# Change the resolution in the VNC session
xrandr -s 1920x1080
# Check the available modes
xrandr -d :0
linux