gnome-remote-desktop user service is always running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-remote-desktop (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Jammy |
Fix Released
|
Low
|
Unassigned |
Bug Description
Impact
------
The gnome-remote-
This was a contributing factor for LP: #1971415
Although it's "harmless" for the user service to be running if remote desktop sharing is not enabled, it's a waste of resources to run a service if it's not needed.
Test Case
---------
Install all Ubuntu updates and the gnome-remote-
From a clean install (or new user), run this command:
systemctl --user status gnome-remote-
It should show the service as "Active: inactive"
Open the Settings app to the Sharing page. Turn on Sharing and turn on Remote Desktop. Use the systemctl command to verify that the service is "Active: active (running). Log out and log back in and reverify.
Now turn off Remote Desktop Sharing and verify that the service is inactive. Log out and log back in and reverify.
More details
-------------------
This fix uses a dpkg postinst script to remove /etc/systemd/
It also modifies debian/rules so that that file is no longer automatically added.
Instead of /etc/systemd/user/ , the user service is intended to be enabled with the symlink ~/.config/
Fixing this bug has been strongly urged by the GNOME Remote Desktop maintainers, and this brings us in line with how non-Debian distros have been packaging gnome-remote-
What could go wrong
-------------------
The RDP and VNC sharing services in GNOME could start when they shouldn't or not start when they should.
Changed in gnome-remote-desktop (Ubuntu Jammy): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in gnome-remote-desktop (Ubuntu): | |
status: | Fix Committed → Triaged |
Changed in gnome-remote-desktop (Ubuntu): | |
status: | Triaged → Fix Committed |
description: | updated |
Changed in gnome-remote-desktop (Ubuntu Jammy): | |
status: | Triaged → In Progress |
description: | updated |
This bug was fixed in the package gnome-remote- desktop - 42.1.1-2ubuntu1
--------------- desktop (42.1.1-2ubuntu1) kinetic; urgency=medium
gnome-remote-
* Merge with Debian. Remaining change: center dependency to 41
- Lower gnome-control-
gnome-remote- desktop (42.1.1-2) unstable; urgency=high
* Don't automatically enable the systemd user service (LP: #1973028)
* Add postinst to remove the automatic enabling of the user service
* debian/control: Lower mutter dependency so that these fixes reach
Testing sooner
gnome-remote- desktop (42.1.1-1) unstable; urgency=medium
* New upstream release (LP: #1970662)
- Fixes black screen with virtio on qemu (LP: #1971195)
* Drop all patches: applied in new release
* Depend on libmutter instead of gnome-shell | budgie-desktop
- This is a more accurate dependency
* Require libmutter 42.1 for Nvidia fixes
* Depend on fuse3 (Closes: #998846) (LP: #1970411)
-- Jeremy Bicha <email address hidden> Thu, 12 May 2022 15:21:47 -0400