Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

removed DISPLAY=:0 env

Dillon DuPont7c6ed3218f3a
diff --git a/libs/python/agent/agent/ui/gradio/app.py b/libs/python/agent/agent/ui/gradio/app.py
index be04d93162..b7112f04d6 100644
--- a/libs/python/agent/agent/ui/gradio/app.py
+++ b/libs/python/agent/agent/ui/gradio/app.py
@@ -39,6 +39,7 @@ global_agent = None
global_computer = None
SETTINGS_FILE = Path(".gradio_settings.json")
+logging.basicConfig(level=logging.INFO)
import dotenv
if dotenv.load_dotenv():
diff --git a/libs/python/computer/computer/providers/docker/provider.py b/libs/python/computer/computer/providers/docker/provider.py
index 6aacba486a..82ad411ce8 100644
--- a/libs/python/computer/computer/providers/docker/provider.py
+++ b/libs/python/computer/computer/providers/docker/provider.py
@@ -286,7 +286,7 @@ class DockerProvider(BaseVMProvider):
# Add environment variables
cmd.extend(["-e", "VNC_PW=password"]) # Set VNC password
- cmd.extend(["-e", "DISPLAY=:0"])
+ cmd.extend(["-e", "VNCOPTIONS=-disableBasicAuth"]) # Disable VNC basic auth
# Add the image
cmd.append(docker_image)