diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-07-15 16:42:29 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-07-15 16:42:29 -0300 |
commit | 9def1c431daa992bf04353694af5c6d794ac2407 (patch) | |
tree | f90318905b3330dcf8e32f6d82e26b7db52e0079 | |
parent | 2b0fdc40e076f46a2212f77a7d913042f1c8088d (diff) | |
download | kvmx-9def1c431daa992bf04353694af5c6d794ac2407.tar.gz kvmx-9def1c431daa992bf04353694af5c6d794ac2407.tar.bz2 |
Drafted a x2go integration
-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 $* |