]> gitweb.fluxo.info Git - vbox.git/commitdiff
Use SPICE_NOGRAB into kvmx spice-client invocation
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 1 Mar 2017 16:59:06 +0000 (13:59 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 1 Mar 2017 16:59:06 +0000 (13:59 -0300)
kvmx

diff --git a/kvmx b/kvmx
index bd679806f186d945569e0f07a2bca25273d5e5b0..105904c9dd0f7cae274c54b88bb7bd5504750f10 100755 (executable)
--- a/kvmx
+++ b/kvmx
@@ -32,7 +32,8 @@ if [ "$ACTION" == "up" ]; then
       -fsdev local,id=shared,path=$SHARED,security_model=none -device virtio-9p-pci,fsdev=shared,mount_tag=shared &
 
   # Run spice client
-  spicec --host localhost --port $PORT &
+  # https://lists.freedesktop.org/archives/spice-devel/2013-September/014643.html
+  SPICE_NOGRAB=1 spicec --host localhost --port $PORT &
   #spicy -h localhost -p $PORT
   #remote-viewer spice://localhost:$PORT