[Spice-devel] spice-vdagent user systemd unit

Rex Dieter rdieter at gmail.com
Fri Jul 16 16:11:04 UTC 2021


On Fri, Jul 16, 2021 at 10:46 AM Marc-André Lureau <
marcandre.lureau at gmail.com> wrote:

>
> 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?
>
>
Here you go,
https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/37

-- Rex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20210716/2c4563a4/attachment.htm>


More information about the Spice-devel mailing list