debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #04851
[Bug 2063333] Re: gnome-remote-desktop.service: Failed to determine user credentials: No such process
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gnome-remote-desktop in
Ubuntu.
https://bugs.launchpad.net/bugs/2063333
Title:
gnome-remote-desktop.service: Failed to determine user credentials: No
such process
Status in gnome-remote-desktop package in Ubuntu:
Fix Released
Status in gnome-remote-desktop source package in Noble:
Fix Released
Status in gnome-remote-desktop package in Debian:
Fix Released
Bug description:
Impact
------
GNOME Remote Desktop won't work for systems that were upgraded from earlier Ubuntu releases.
Test Case
---------
Install Ubuntu Desktop 23.10
Upgrade to 24.04 LTS
Successfully complete both the Basic RDP and Basic Remote Login test cases from https://wiki.ubuntu.com/DesktopTeam/TestPlans/RemoteDesktop
What Could Go Wrong
-------------------
The small debian/rules change ensures that systemd-sysusers is run and that it is run after systemd-tmpfiles.
Both systemd-* commands are limited to only run the gnome-remote-
desktop conf files.
The conffiles simply create the gnome-remote-desktop user with an
appropriate user directory and ensure the existence of /etc/gnome-
remote-desktop/
This is the minimal change needed to fix this bug.
GNOME Remote Desktop only works with GNOME Shell so this change only
affects Ubuntu Desktop and Edubuntu. This change has no effect on new
Ubuntu 24.04 LTS installs because the user and user directory are
already created by the installer. It enables remote desktop to work
for systems that upgrade to Ubuntu 24.04 LTS. Remote desktop can be a
critical feature for some users who may not have local access to the
system they are trying to use. However, this feature is a bit less
useful before Ubuntu 24.04 LTS which is the first version to support
headless remote desktop using RDP.
Other Info
----------
The added lines to postinst are marked with a leading +:
# Automatically added by dh_installtmpfiles/13.15.3
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -x "$(command -v systemd-tmpfiles)" ]; then
systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create
gnome-remote-desktop-tmpfiles.conf || true
fi
fi
# End automatically added section
+# Automatically added by dh_installsysusers/13.15.3
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-+deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ systemd-sysusers ${DPKG_ROOT:+--root="$DPKG_ROOT"} gnome-remote-desktop-sysusers.conf
+fi
+
+# End automatically added section
+# Automatically added by dh_installtmpfiles/13.15.3
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ if [ -x "$(command -v systemd-tmpfiles)" ]; then
+ systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create
+gnome-remote-desktop-tmpfiles.conf || true
+ fi
+fi
+# End automatically added section
# Automatically added by dh_installsystemduser/13.15.3
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort- deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -z "${DPKG_ROOT:-}" ]; then
if deb-systemd-helper --user debian-installed 'gnome-remote-desktop-handover.service' ; then
# The following line should be removed in trixie or
trixie+1
deb-systemd-helper --user unmask 'gnome-remote-desktop-handover.service' >/dev/null || true
Workaround
----------
If you are affected by this issue, you can safely run the same 3 commands that this upgrade would run:
sudo systemd-tmpfiles --create /usr/lib/tmpfiles.d/gnome-remote-
desktop-tmpfiles.conf
sudo systemd-sysusers /usr/lib/sysusers.d/gnome-remote-desktop-
sysusers.conf
sudo systemd-tmpfiles --create /usr/lib/tmpfiles.d/gnome-remote-
desktop-tmpfiles.conf
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-remote-desktop 46.1-1
ProcVersionSignature: Ubuntu 6.8.0-31.31.1-generic 6.8.1
Uname: Linux 6.8.0-31-generic riscv64
ApportVersion: 2.28.1-0ubuntu2
Architecture: riscv64
CasperMD5json:
{
"result": "skip"
}
Date: Wed Apr 24 12:34:26 2024
InstallationDate: Installed on 2024-04-24 (0 days ago)
InstallationMedia: Ubuntu-Server 24.04 LTS "Noble Numbat" - Release riscv64 (20240423)
SourcePackage: gnome-remote-desktop
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-remote-desktop/+bug/2063333/+subscriptions