diff options
-rwxr-xr-x | kvmx | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -1477,6 +1477,11 @@ function kvmx_xpra { exit 1 fi + if ! kvmx_running || kvmx_suspended; then + echo "$BASENAME: $VM not running" + exit 1 + fi + local action="$1" shift @@ -1493,6 +1498,23 @@ function kvmx_xpra { fi } +# X2Go integration +#function kvmx_x2go { +# if ! which x2goclient &> /dev/null; then +# echo "$BASENAME: please install x2goclient package" +# exit 1 +# fi +# +# if ! kvmx_running || kvmx_suspended; then +# echo "$BASENAME: $VM not running" +# exit 1 +# fi +# +# SSH="`cat $SSHFILE`" +# +# x2goclient --ssh-port=$SSH --ssh-key=$SSHKEY --session=$VM +#} + # Alias for up command function kvmx_start { kvmx_up $* |