gnome-remote-desktop.service: Failed to determine user credentials: No such process
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-remote-desktop (Debian) |
New
|
Unknown
|
|||
gnome-remote-desktop (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Noble |
Fix Released
|
High
|
Jeremy Bícha |
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:/
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-
The conffiles simply create the gnome-remote-
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_installtmpfi
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -x "$(command -v systemd-tmpfiles)" ]; then
systemd-tmpfiles ${DPKG_
gnome-
fi
fi
# End automatically added section
+# Automatically added by dh_installsysus
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-
+ systemd-sysusers ${DPKG_
+fi
+
+# End automatically added section
+# Automatically added by dh_installtmpfi
+if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
+ if [ -x "$(command -v systemd-tmpfiles)" ]; then
+ systemd-tmpfiles ${DPKG_
+gnome-
+ fi
+fi
+# End automatically added section
# Automatically added by dh_installsyste
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-
# The following line should be removed in trixie or
trixie+1
deb-
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/
sudo systemd-sysusers /usr/lib/
sudo systemd-tmpfiles --create /usr/lib/
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-remote-
ProcVersionSign
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-
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
Changed in gnome-remote-desktop (Debian): | |
status: | Unknown → New |
Changed in gnome-remote-desktop (Ubuntu Noble): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in gnome-remote-desktop (Ubuntu): | |
status: | Triaged → Fix Committed |
tags: | added: block-proposed |
description: | updated |
Changed in gnome-remote-desktop (Ubuntu Noble): | |
assignee: | nobody → Jeremy Bícha (jbicha) |
description: | updated |
Changed in gnome-remote-desktop (Debian): | |
status: | New → Fix Released |
description: | updated |
Changed in gnome-remote-desktop (Ubuntu): | |
status: | Fix Committed → Triaged |
Changed in gnome-remote-desktop (Debian): | |
status: | Fix Released → New |
tags: | removed: block-proposed |
Changed in gnome-remote-desktop (Ubuntu): | |
status: | Fix Released → Triaged |
Status changed to 'Confirmed' because the bug affects multiple users.