diff options
author | Simon Rettberg | 2024-05-13 16:21:25 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-05-13 16:21:25 +0200 |
commit | 6c246fc491cec02d31928be6b84d99b2c3691964 (patch) | |
tree | 38f8d429fc961b9264f64a6e2fa4021599a72486 | |
parent | [vmware-common] Disable disk locking (diff) | |
download | mltk-6c246fc491cec02d31928be6b84d99b2c3691964.tar.gz mltk-6c246fc491cec02d31928be6b84d99b2c3691964.tar.xz mltk-6c246fc491cec02d31928be6b84d99b2c3691964.zip |
[vmware-common] Run windowed in CoW mode
-rw-r--r-- | core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include index 24debedd..e55a533b 100644 --- a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include +++ b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/run-virt.include @@ -64,6 +64,10 @@ run_plugin() { # HACK: using the modified version of the wrapper script declare -rg VIRTCMD="/opt/openslx/bin/vmplayer" - # -X for fullscreen, plus VMX file - VIRTCMDOPTS+=( "-X" "${VM_RUN_FILE}" ) + # -X for fullscreen, plus VMX file - run windowed in CoW mode, so we can see the cowgui + if is_on VMCHOOSER_ADMIN_MODE && isset DMSD_COW_SESSION; then + VIRTCMDOPTS+=( "${VM_RUN_FILE}" ) + else + VIRTCMDOPTS+=( "-X" "${VM_RUN_FILE}" ) + fi } |