diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-04-08 20:51:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-04-08 20:51:19 -0300 |
commit | 1e0962a05a99456ea6bba97065c1e63aa3f0b881 (patch) | |
tree | 08b14b2d12e12ebf5f5724fcfa6e1f08eedad086 | |
parent | 6d10ed52ca130aaabcb0ed27e198dc5d66426061 (diff) | |
download | kvmx-1e0962a05a99456ea6bba97065c1e63aa3f0b881.tar.gz kvmx-1e0962a05a99456ea6bba97065c1e63aa3f0b881.tar.bz2 |
Restart vdagent on kvmx_spice
-rwxr-xr-x | kvmx | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |