summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcore/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/run-virt.include5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/run-virt.include b/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/run-virt.include
index adda65e3..7288007e 100755
--- a/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/run-virt.include
+++ b/core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/run-virt.include
@@ -42,7 +42,10 @@ run_plugin() {
# set the variables appropriately (several interfaces with different names)
declare -rg VIRTCMD="${VBOX_BASE_DIR}/VirtualBoxVM"
- VIRTCMDOPTS+=( "--startvm" "${MACHINE_UUID}" "--start-running" "--fullscreen" )
+ VIRTCMDOPTS+=( "--startvm" "${MACHINE_UUID}" "--start-running" )
+ if [ -z "$DMSD_COW_SESSION" ]; then
+ VIRTCMDOPTS+=( "--fullscreen" )
+ fi
# set headless mode (-v off to disable vrdp) XXX currently not supported/used
#declare -rg VIRTCMDHL="${VBOX_BASE_DIR}/VBoxHeadless"