summaryrefslogtreecommitdiffstats
path: root/core/modules/pvs2
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/pvs2')
-rwxr-xr-xcore/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient b/core/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient
index cd932597..9f13ed4a 100755
--- a/core/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient
+++ b/core/modules/pvs2/data/opt/openslx/vmchooser/sessionstart.d/50-PVSclient
@@ -47,9 +47,8 @@ else
pvsstartup $PVSCONFIG &
fi
-# Finally, handle hybrid mode where the pvsmgr is launched on the second desktop
-# alongside the actual vm. (make sure this is a VSESSION!)
-if [ "$SESSION_TYPE" == "VSESSION" ]; then
+# Finally, handle hybrid mode where the pvsmgr is launched on the second desktop.
+if [ "$SLX_PVS_HYBRID" == "yes" ]; then
{
wt="PVS2 Manager"
pvsmgr "$PVSCONFIG" --manager-only &