I noticed this too, somewhat annoying when trying to minimise listening services. Marcin, I have managed to work around this issue with the following command:
sudo unlink /etc/systemd/user/gnome-session.target.wants/gnome-remote- desktop.service Now when enabling/disabling the remote desktop service a symlink is instead created/removed at ~/.config/systemd/user/gnome-session.target.wants/gnome-remote- desktop.service and as such the user's on/off preference is respected. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-remote-desktop in Ubuntu. https://bugs.launchpad.net/bugs/1970039 Title: cannot disable Remote Desktop in Ubuntu 22.04 Status in gnome-remote-desktop package in Ubuntu: Confirmed Bug description: 1. Go to Settings 2. sharing 3. Disable Remote Desktop and Sharing 4. Restart PC problem: Remote Desktop is enabled. seems to be connected with RDP To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-remote-desktop/+bug/1970039/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp