From: Silvio Rhatto Date: Sun, 8 Apr 2018 23:51:19 +0000 (-0300) Subject: Restart vdagent on kvmx_spice X-Git-Tag: 0.1.0~267 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1e0962a05a99456ea6bba97065c1e63aa3f0b881;p=kvmx.git Restart vdagent on kvmx_spice --- diff --git a/kvmx b/kvmx index 139d530..c2a620e 100755 --- a/kvmx +++ b/kvmx @@ -248,6 +248,11 @@ function kvmx_spice { xdotool search --name "SPICEc:0" set_window --name $VM fi + + # Restart vdagent + if [ "$ssh_support" == "y" ]; then + echo "which kvmx-vdagent > /dev/null && DISPLAY=:0 kvmx-vdagent" | kvmx_ssh + fi } # Bring virtual machine up