]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Start xpra after the boot procedure
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Apr 2017 17:29:59 +0000 (14:29 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Apr 2017 17:29:59 +0000 (14:29 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 8dff4b82b20533c769bd034d142beac44670b774..5320ff08fa11c7fe0e56177e8572623aac14299b 100755 (executable)
--- a/kvmx
+++ b/kvmx
@@ -322,10 +322,6 @@ function kvmx_up {
     kvmx_spice
   fi
 
-  if [ "$run_xpra" == "1" ]; then
-    $DIRNAME/$BASENAME xpra $VM
-  fi
-
   if [ "$ssh_support" == "y" ]; then
     let ssh_attempts="0"
     echo -n "Waiting for machine to boot..."
@@ -361,6 +357,10 @@ function kvmx_up {
     fi
   fi
 
+  if [ "$run_xpra" == "1" ]; then
+    $DIRNAME/$BASENAME xpra $VM
+  fi
+
   kvmx_status
 }