The verification of the Stable Release Update for gnome-remote-desktop has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
-- 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/1973028 Title: gnome-remote-desktop user service is always running Status in gnome-remote-desktop package in Ubuntu: Fix Released Status in gnome-remote-desktop source package in Jammy: Fix Released Bug description: Impact ------ The gnome-remote-desktop systemd user service is always running. 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-desktop update. From a clean install (or new user), run this command: systemctl --user status gnome-remote-desktop.service 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/user/gnome-session.target.wants/gnome-remote-desktop.service . (That file is a symlink to the actual service). We couldn't use https://manpages.debian.org/unstable/dpkg-maintscript-helper because the file is technically not a "conffile" as recognized by dpkg. 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/systemd/user/gnome- session.target.wants/gnome-remote-desktop.service . That is appropriate since the GNOME implementation is per-user, not system- wide and it is also disabled by default. 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-desktop. What could go wrong ------------------- The RDP and VNC sharing services in GNOME could start when they shouldn't or not start when they should. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-remote-desktop/+bug/1973028/+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