Skip to content

Commit 043f5a9

Browse files
authored
Make VNC connection without password by default (#50)
1 parent 6d472d4 commit 043f5a9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ This service can be used with any project type. The examples below are Drupal-sp
3333
### The easy way: Use noVNC (built-in)
3434

3535
1. Remove --headless from the MINK_DRIVER_ARGS_WEBDRIVER in your project's .ddev/config.selenium-standalone-chrome.yaml. Run `ddev restart`.
36-
2. On your host, run `ddev launch :7900` or browse to https://[DDEV SITE URL]:7900 (password: `secret`) to watch tests run with noVNC (neat!).
36+
2. On your host, run `ddev launch :7900` or browse to https://[DDEV SITE URL]:7900 to watch tests run with noVNC (neat!).
37+
38+
By default noVNC connects without password, you can enable password by removing the "VNC_NO_PASSWORD=1" line in the file `docker-compose.selenium-chrome.yaml`, the default password will be `secret`, and you can set the custom one via `VNC_PASSWORD` environment variable.
3739

3840
This enables you to quickly see what is going on with your tests.
3941

docker-compose.selenium-chrome.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ services:
1616
- VIRTUAL_HOST=$DDEV_HOSTNAME
1717
- HTTPS_EXPOSE=7900:7900
1818
- HTTP_EXPOSE=7910:7900
19+
- VNC_NO_PASSWORD=1
1920
external_links:
2021
- ddev-router:${DDEV_SITENAME}.${DDEV_TLD}
2122
# To enable VNC access for traditional VNC clients like macOS "Screen Sharing",

0 commit comments

Comments
 (0)