aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx22
1 files changed, 22 insertions, 0 deletions
diff --git a/kvmx b/kvmx
index 0c83fb9..b9e7b2c 100755
--- a/kvmx
+++ b/kvmx
@@ -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 $*