mirror of
https://github.com/trycua/lume.git
synced 2026-01-06 04:20:03 -06:00
removed DISPLAY=:0 env
This commit is contained in:
@@ -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():
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user