RDP Sharing appears on by default in jammy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Fix Released
|
Undecided
|
Unassigned | ||
gnome-control-center |
Fix Released
|
Unknown
|
|||
gnome-control-center (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned |
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-
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-
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-
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.
and apparently tries to start RDP sharing. RDP sharing doesn't work because the TLS keys weren't set yet.
description: | updated |
description: | updated |
Changed in gnome-remote-desktop (Ubuntu Jammy): | |
status: | New → Triaged |
importance: | Undecided → High |
affects: | gnome-control-center → gnome-remote-desktop |
description: | updated |
no longer affects: | gnome-remote-desktop (Ubuntu) |
affects: | gnome-remote-desktop → gnome-control-center |
no longer affects: | gnome-remote-desktop (Ubuntu Jammy) |
Changed in gnome-control-center (Ubuntu Jammy): | |
milestone: | none → ubuntu-22.04.1 |
Changed in gnome-control-center (Ubuntu Jammy): | |
status: | Triaged → In Progress |
description: | updated |
Changed in ubuntu-release-notes: | |
status: | New → Fix Released |
Changed in gnome-control-center (Ubuntu Jammy): | |
status: | In Progress → Fix Committed |
tags: | added: verification-done verification-done-jammy |
Changed in gnome-control-center: | |
status: | Unknown → Fix Released |
Thank you for filling in the bug! So from what I understand here, this means that sharing is disabled until someone opens the sharing screen in the gnome-control- center, right? I agree with the 'High' priority here in that case, but it's certainly not a 22.04 release blocker - however, the fix for that should be prepared ASAP and uploaded as a 0-day SRU, if possible. Actually, I even think maybe it should go through the security pocket, as at least to me this seems like a violation of our security policies by enabling RDP without the users knowledge. This way all the users would get this update as well via unattended updates.
Could we get some input from the security team? What do you think?