diff options
| -rwxr-xr-x | kvmx | 6 | ||||
| -rw-r--r-- | kvmxfile | 3 | 
2 files changed, 7 insertions, 2 deletions
| @@ -299,9 +299,11 @@ function kvmx_spice {        kvmx_xrandr      fi -    # Restart vdagent +    # Ensure vdagent is running      if [ "$ssh_support" == "y" ]; then -      echo "which kvmx-vdagent > /dev/null && DISPLAY=:0 kvmx-vdagent" | kvmx_ssh +      if [ "$kvmx_vdagent" != "0" ]; then +        echo "which kvmx-vdagent > /dev/null && DISPLAY=:0 kvmx-vdagent" | kvmx_ssh +      fi      fi    fi  } @@ -109,6 +109,9 @@ run_spice_client="1"  #spice_client="virt-viewer"  spice_client="spicy" +# Set this if you want that kvmx-vdagent is triggered after the machine boots. +kvmx_vdagent="1" +  # Set this if you want to start an xpra session when the machine boots.  run_xpra="0" | 
