GNOME Remote Desktop

mkdir -p ~/.local/share/gnome-remote-desktop
cd ~/.local/share/gnome-remote-desktop
openssl req -newkey rsa:4096 -x509 -sha256 -days 3650 -nodes -out hostname.domain.tld.pem -keyout hostname.domain.tld.key
chmod 644 hostname.domain.tld.pem
chmod 600 hostname.domain.tld.key
grdctl rdp set-tls-key ~/.local/share/gnome-remote-desktop/hostname.domain.tld.key
grdctl rdp set-tls-cert ~/.local/share/gnome-remote-desktop/hostname.domain.tld.pem
grdctl rdp set-credentials # Enter credentials via standard input
grdctl rdp disable-view-only
grdctl rdp set-port 3399
grdctl rdp enable
systemctl --user enable --now gnome-remote-desktop.service
grdctl rdp status
sudp ufw allow from 10.1.1.0/24 to any port 3399 proto tcp

https://github.com/GNOME/gnome-remote-desktop