diff options
-rwxr-xr-x | core/modules/vbox-src/data/opt/openslx/vmchooser/plugins/virtualbox/run-virt.include | 5 |
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" |