Yeah, this issue here is a duplicate of the bug mentioned in comment 6. Jeremy 
submitted a patch, which sufficiently fixed the issue in 
https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/1286 (it 
should technically check for other aspects too), but for now it is sufficient.
Follow-ups should use an upstream report or MR for this.

Just to note: What people confuses here is the state of what the switch 
represents and therefore leads to the wrong conclusions above.
Just because g-r-d is running, does not mean it listens on some ports for 
connections, nor that it starts any of the server backends (RDP or VNC).
Before Jeremys change, the state in g-c-c represented, whether the g-r-d 
service is enabled and running. However, the backends have their own 'enabled' 
settings (default: false ('off')). Also, the RDP backend won't be started by 
g-r-d, when the server cert and private keyfile are missing.
These are generated, when the switch in g-c-c is switched to 'on'.

The reason, why this issue was not apparent initially was that due a recent 
systemd change, g-r-d did not start automatically, when the service was enabled.
This was fixed in 
https://gitlab.gnome.org/GNOME/gnome-remote-desktop/-/commit/7f4ef31fd380dffc108e5c7f77c81fbaa271ec7b,
 but lead to this issue here.

-- 
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:
  Incomplete

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

Reply via email to