removed DISPLAY=:0 env

This commit is contained in:
Dillon DuPont
2025-08-14 10:33:29 -04:00
parent 1718e57bd3
commit 7c6ed3218f
2 changed files with 2 additions and 1 deletions

View File

@@ -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():

View File

@@ -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)