Possible to use custom ports for desktop sharing & remote login?

I’d like to be able to use custom ports for Desktop Sharing and Remote Login. Currently it’s locked to the standard 3389 (and 3390 if both are enabled).

Is this possible in a configuration file somewhere?

I found /org/gnome/desktop/remote-desktop/rdp/port (in dconf editor) which defaults to 3389, but changed this and it did not effect the port under Remote Login.

# Remote Login
sudo grdctl --system rdp set-port 33890
sudo systemctl restart gnome-remote-desktop.service

# Desktop Sharing
grdctl rdp set-port 33900
systemctl --user restart gnome-remote-desktop.service
1 Like

Thank you for the solution!

1 Like