[Spice-devel] spice-vdagent user systemd unit

Marc-André Lureau marcandre.lureau at gmail.com
Fri Jul 16 15:46:33 UTC 2021


Hi

On Fri, Jul 16, 2021 at 7:25 PM Rex Dieter <rdieter at gmail.com> wrote:

> Just a quick followup to old thread
> "Fedora 34 guests can no longer paste from host"
> https://lists.freedesktop.org/archives/spice-devel/2021-April/052351.html
>
> The problem is purely relying on autostart which can be buggy in this
> case, see downstream bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1951580
> and relevant upstream bug,
> https://github.com/systemd/systemd/issues/18791
>
> One workaround is to provide a systemd user unit to run spice-vdagent
> also/instead.  Here's the first iteration I came up with:
>
> https://src.fedoraproject.org/rpms/spice-vdagent/blob/rawhide/f/spice-vdagent.service
> (pretty simple)
>
> Feedback is welcome, and I'd encourage you to adopt this upstream too.
> Thanks.
>
>
That looks reasonable to me. X-GNOME-Autostart-Phase=WindowManager was not
meant to be a generic solution anyway. It seems reasonable to have a
systemd session solution nowadays. Even if both compete at startup, only
one should stay.

Can you make a merge request on gitlab?

-- 
Marc-André Lureau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20210716/86124fc3/attachment.htm>


More information about the Spice-devel mailing list