gnome-remote-de[891989]: Init file credentials failed: Key file does not start with a group

Bug #2067519 reported by Felipe Portavales Goldstein
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-remote-desktop (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,
I am encountering a problem similar to:
https://bugs.launchpad.net/ubuntu/+source/gnome-remote-desktop/+bug/2063333

I do have the latest package installed:
$ apt search gnome-remote
Sorting... Done
Full Text Search... Done
gnome-remote-desktop/noble-updates,noble-security,now 46.2-1~ubuntu24.04.2 amd64 [installed,automatic]
  Remote desktop daemon for GNOME using PipeWire

I tried forcing re-install:
sudo apt-get install --reinstall gnome-remote-desktop

I tried running these workaround commands described here:
https://bugs.launchpad.net/ubuntu/+source/gnome-remote-desktop/+bug/2063333

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

Any help on how to fix it ?

I am still seeing the problem:
May 28 10:06:18 cuica systemd[1]: Starting gnome-remote-desktop.service - GNOME Remote Desktop...
May 28 10:06:18 cuica gnome-remote-de[891989]: Init TPM credentials failed because Failed to initialize transmission interface context: tcti:IO failure, using GKeyFile as fallback
May 28 10:06:18 cuica gnome-remote-de[891989]: Init file credentials failed: Key file does not start with a group
May 28 10:06:18 cuica gnome-remote-desktop-daemon[891989]: **
May 28 10:06:18 cuica gnome-remote-desktop-daemon[891989]: ERROR:../src/grd-settings.c:345:grd_settings_constructed: assertion failed: (priv->credentials)
May 28 10:06:18 cuica gnome-remote-desktop-daemon[891989]: Bail out! ERROR:../src/grd-settings.c:345:grd_settings_constructed: assertion failed: (priv->credentials)
May 28 10:06:18 cuica systemd[1]: gnome-remote-desktop.service: Main process exited, code=dumped, status=6/ABRT
May 28 10:06:18 cuica systemd[1]: gnome-remote-desktop.service: Failed with result 'core-dump'.
May 28 10:06:18 cuica systemd[1]: Failed to start gnome-remote-desktop.service - GNOME Remote Desktop.
May 28 10:06:19 cuica systemd[1]: gnome-remote-desktop.service: Scheduled restart job, restart counter is at 5.
May 28 10:06:19 cuica systemd[1]: gnome-remote-desktop.service: Start request repeated too quickly.
May 28 10:06:19 cuica systemd[1]: gnome-remote-desktop.service: Failed with result 'core-dump'.
May 28 10:06:19 cuica systemd[1]: Failed to start gnome-remote-desktop.service - GNOME Remote Desktop.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-remote-desktop 46.2-1~ubuntu24.04.2
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed May 29 22:17:54 2024
InstallationDate: Installed on 2024-04-28 (31 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
SourcePackage: gnome-remote-desktop
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Felipe Portavales Goldstein (portavales) wrote :
Revision history for this message
Bryan Purdy (purdyb) wrote :

Also seeing this after having tried all the same things and an apt purge. My system is an upgrade from 22.04 to 24.04.

My log differs on one line, so may be a different issue. If you prefer I submit a new bug, I'll send with ubuntu-bug

Above: gnome-remote-de[891989]: Init file credentials failed: Key file does not start with a group
Mine: gnome-remote-de[11429]: Init file credentials failed: Error creating directory /nonexistent: Permission denied

Full log:
Jun 1 02:48:16 blah systemd[1]: Starting gnome-remote-desktop.service - GNOME Remote Desktop...
Jun 1 02:48:16 blah gnome-remote-de[11437]: Init TPM credentials failed because Failed to initialize transmission interface context: tcti:IO failure, using GKeyFile as fallback
Jun 1 02:48:16 blah gnome-remote-de[11437]: Init file credentials failed: Error creating directory /nonexistent: Permission denied
Jun 1 02:48:16 blah gnome-remote-desktop-daemon[11437]: **
Jun 1 02:48:16 blah gnome-remote-desktop-daemon[11437]: ERROR:../src/grd-settings.c:345:grd_settings_constructed: assertion failed: (priv->credentials)
Jun 1 02:48:16 blah gnome-remote-desktop-daemon[11437]: Bail out! ERROR:../src/grd-settings.c:345:grd_settings_constructed: assertion failed: (priv->credentials)
Jun 1 02:48:16 blah systemd[1]: gnome-remote-desktop.service: Main process exited, code=dumped, status=6/ABRT
Jun 1 02:48:16 blah systemd[1]: gnome-remote-desktop.service: Failed with result 'core-dump'.
Jun 1 02:48:16 blah systemd[1]: Failed to start gnome-remote-desktop.service - GNOME Remote Desktop.
Jun 1 02:48:16 blah systemd[1]: gnome-remote-desktop.service: Scheduled restart job, restart counter is at 5.
Jun 1 02:48:16 blah systemd[1]: gnome-remote-desktop.service: Start request repeated too quickly.
Jun 1 02:48:16 blah systemd[1]: gnome-remote-desktop.service: Failed with result 'core-dump'.
Jun 1 02:48:16 blah systemd[1]: Failed to start gnome-remote-desktop.service - GNOME Remote Desktop.

Revision history for this message
Felipe Portavales Goldstein (portavales) wrote :

Hi, I still have this issue.
Any tips on what I can do to try to debug this further would be appreciated.
Thank you

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.