While the fix here is correct, the assumptions in this issue are wrong.
I wrote an explanation of this issue in
https://bugs.launchpad.net/ubuntu/+source/gnome-remote-
desktop/+bug/1970039/comments/7.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1969619

Title:
  RDP Sharing appears on by default in jammy

Status in gnome-control-center:
  Unknown
Status in Release Notes for Ubuntu:
  Fix Released
Status in gnome-control-center package in Ubuntu:
  Fix Released
Status in gnome-control-center source package in Jammy:
  Fix Released

Bug description:
  Impact
  ======
  1. It looks like RDP Sharing is turned on but it is not.
  2. To actually turn on RDP Sharing, you would need to turn it off then turn 
it on.

  This bugfix fixes it so that it correctly shown as off by default and
  turning it on works.

  Test Case
  =========
  0. Start with a clean Ubuntu 22.04 install.
  Or you can create a new user and log in as the new user.
  1. Open the Settings app.
  2. In the left sidebar, click Sharing. The switch at the top of the page 
needs to be off.
  3. Turn the switch on. Then click Remote Desktop and turn it on.
  4. Close the Settings app.
  5. Open the Settings app and verify that Sharing is on and Remote Desktop is 
on.
  6. Close the Settings app.
  7. From a terminal, run
  systemctl --user status gnome-remote-sharing.service

  It should show the service as active (running) and
  a line at the bottom should say RDP server started
  8. Then run
  systemctl --user stop gnome-remote-sharing.service
  9. Open the Settings app. It should show that Remote Desktop sharing is off.
  10. Turn on Sharing and turn on Remote Desktop sharing.
  11. Run
  systemctl --user status gnome-remote-sharing.service

  It should show the service as active (running) and
  a line at the bottom should say RDP server started

  What Could Go Wrong
  ===================
  This is a minimal fix proposed upstream.
  The original implementation was insufficient.
  The bugfix will allow Remote Desktop to be turned on and work correctly from 
the beginning.

  More Details
  ============
  To simplify this bug report, I removed a lot of troubleshooting details that 
can still be seen with the "See full activity log" link

  Just opening the Sharing panel flips the gsettings key 
org.gnome.desktop.remote-desktop.rdp enable to true
  and apparently tries to start RDP sharing. RDP sharing doesn't work because 
the TLS keys weren't set yet.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/1969619/+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