
- Install TigerVNC
sudo dnf -y install tigervnc
- Create /etc/tigervnc/vncserver.users containing:
:2=username
- Create /home/username/.vnc/config containing:
session=gnome
securitytypes=vncauth,tlsvnc
localhost=0
alwaysshared - As the username user, set the VNC password with the command:
vncpasswd
- Start and enable the VNC service:
sudo systemctl enable vncserver@:2.service
sudo systemctl start vncserver@:2.service - Use this command to access the VNC session from a remote host:
vncviewer -geometry 2560x1440 -via server.ip.address 127.0.0.1:2