From 189a17ef0787b45e2fba7bcfe6fb5c1215e1fade Mon Sep 17 00:00:00 2001
From: Rom Walton <rwalton@ssl.berkeley.edu>
Date: Fri, 30 May 2014 17:35:48 -0400
Subject: [PATCH] VBOX: If vboxwrapper is running in standalone mode (not under
 BOINC), run the VM in head full mode.

---
 samples/vboxwrapper/vboxwrapper.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/vboxwrapper/vboxwrapper.cpp b/samples/vboxwrapper/vboxwrapper.cpp
index 4bb3d028d2..75312bd20d 100644
--- a/samples/vboxwrapper/vboxwrapper.cpp
+++ b/samples/vboxwrapper/vboxwrapper.cpp
@@ -546,7 +546,7 @@ int main(int argc, char** argv) {
 
     // Record which mode VirtualBox should be started in.
     //
-    if (aid.vbox_window) {
+    if (aid.vbox_window || boinc_is_standalone()) {
         fprintf(
             stderr,
             "%s Detected: Headless Mode Disabled\n",
-- 
GitLab