Comment 3 for bug 2064647

Revision history for this message
Robert Fletcher (robrotheram) wrote :

From Upstream

I tried to enable using some commands through grdctl with no such luck grdctl enable

[20:15:58:493] [60992:0000ee40] [ERROR][com.freerdp.crypto] - [x509_utils_from_pem]: BIO_new failed for certificate
RDP server certificate is invalid.
Usage: grdctl [OPTIONS...] COMMAND [SUBCOMMAND]...

grdctl --headless enable

[20:[61000:0000ee48] [ERROR][com.freerdp.crypto] - [x509_utils_from_pem]: BIO_new failed for certificate 16:02:476]
RDP server certificate is invalid.
Init TPM credentials failed because No TPM device found, using GKeyFile as fallback.
Usage: grdctl [OPTIONS...] COMMAND [SUBCOMMAND]...

grdctl --system enable

Error changing to home directory /var/lib/gnome-remote-desktop: No such file or directory

From @pnowack
That's a packaging issue. Please report that to your distro. g-r-d installs both a sysusers and a tmpfiles file for the user for the system daemon and its config dirs.
The sysusers and tmpfiles hooks usually run on a reboot, but they also MUST run when installing the respective pkg, in particular: after the decompression of the files (post-installation hooks). This works fine on other distros, like Arch (pacman automatically detects such sysusers- or tmpfiles-file installation and runs the respective hooks for that).
apt or dpkg must also be able to correctly handle this (regardless of the pkg).