- Package:
- src:gnome-remote-desktop
- Source:
- src:gnome-remote-desktop
- Submitter:
- Sven Geuer
- Date:
- 2024-08-04 13:51:02 UTC
- Severity:
- normal
Dear Maintainer, After having installed gnome-core in a minimal VM I started to configure gnome-remote-desktop on the console per grdctl --system rdp set-credentials "user" "password" which only returned Failed to start the configuration of the system daemon: Failed to execute child process “pkexec” (No such file or directory) Looking into the source code [1] revealed grdctl indeed calls pkexec. Not sure whether pkexec should be added to Depends or whether one should replace it with runuser. Regards, Sven [1] https://sources.debian.org/src/gnome-remote-desktop/46.3-4/src/grd-ctl.c/?hl=937#L937
elevates privileges to root (or maybe swaps to a system uid), then runuser
is not a solution, because runuser can only be run by root. If that's the
design, then a privilege elevation tool is needed (pkexec, sudo, doas or
similar), of which pkexec is the most desktop-integrated.
If grdctl is sometimes but not always required, then Recommends: or
Suggests: pkexec would be another option.
(I haven't kept up with how recent versions of g-r-d work, so I don't have
the context to say authoritatively how it's meant to work and which parts
of it are a hard requirement.)
smcv