<div dir="ltr"><div dir="ltr">Hi<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 16, 2021 at 7:25 PM Rex Dieter <<a href="mailto:rdieter@gmail.com">rdieter@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Just a quick followup to old thread<br>"Fedora 34 guests can no longer paste from host"</div><div dir="ltr"><a href="https://lists.freedesktop.org/archives/spice-devel/2021-April/052351.html" target="_blank">https://lists.freedesktop.org/archives/spice-devel/2021-April/052351.html</a><br></div><div dir="ltr"><br></div><div>The problem is purely relying on autostart which can be buggy in this case, see downstream bug:</div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1951580" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1951580</a><br>and relevant upstream bug,<br><a href="https://github.com/systemd/systemd/issues/18791" target="_blank">https://github.com/systemd/systemd/issues/18791</a><br></div><div dir="ltr"><br></div><div>One workaround is to provide a systemd user unit to run spice-vdagent also/instead.  Here's the first iteration I came up with:</div><div><a href="https://src.fedoraproject.org/rpms/spice-vdagent/blob/rawhide/f/spice-vdagent.service" target="_blank">https://src.fedoraproject.org/rpms/spice-vdagent/blob/rawhide/f/spice-vdagent.service</a><br>(pretty simple)</div><div><br></div><div>Feedback is welcome, and I'd encourage you to adopt this upstream too.  Thanks.</div><br clear="all"></div></div></blockquote><div><br></div><div>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.</div><div><br></div><div>Can you make a merge request on gitlab?<br></div></div><br>-- <br><div dir="ltr" class="gmail_signature">Marc-André Lureau<br></div></div>