• Canonical way to start spice-vdagent?

    From Marc Haber@21:1/5 to All on Tue Jul 25 15:50:01 2023
    Hi,

    I am running KDE inside a test VM which gets accessed via virt-manager
    or virt viewer with spice, qxl etc. To get seamless session resizing in
    that setup, I need to run spice-vdagent as the user logging into KDE.

    Isnt this supposed to happen automatically? If so, which package should
    get the bug report for not doing that?

    What would be the canonical way to set spice-vdagent to be autostarted?
    Is it ok to configure that in Systemd Settings => Autostart or is there
    are more elegant way?

    Greetings
    Marc

    -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Shmerl@21:1/5 to All on Sun Jul 30 08:00:01 2023
    The way I do it is by using the user level systemd service.

    I think latest vdagent improved this by making their user level service
    depend on graphical user session.

    See:

    * https://gitlab.freedesktop.org/spice/linux/vd_agent/-/blob/master/data/spice-vdagent.service
    * https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/47

    The one in Debian now is still outdated:

    /usr/lib/systemd/user/spice-vdagent.service

    So you can probably patch that manually with the above and see if that
    helps.

    Regards,
    Shmerl.

    <div dir="ltr"><div>The way I do it is by using the user level systemd service.</div><div><br></div><div>I think latest vdagent improved this by making their user level service</div><div>depend on graphical user session.</div><div><br></div><div>See: </
    <div><br></div><div>* <a href="https://gitlab.freedesktop.org/spice/linux/vd_agent/-/blob/master/data/spice-vdagent.service">https://gitlab.freedesktop.org/spice/linux/vd_agent/-/blob/master/data/spice-vdagent.service</a></div><div>* <a href="https://
    gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/47">https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/47</a></div><div><br></div><div>The one in Debian now is still outdated:</div><div><br></div><div>/usr/lib/systemd/user/
    spice-vdagent.service</div><div><br></div><div>So you can probably patch that manually with the above and see if that helps.</div><div><br></div><div>Regards,</div><div>Shmerl.<br></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)