You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By modifying the configuration as shown below, I was able to achieve the desired behavior and enable VNC password authentication. The password used for authentication in this case was "vscode11", which was specified in the devcontainer.json file.
Previously, VNC password authentication was enabled without specifying any environment variables, but now it requires the VNC_PASSWORD environment variable to be set.
If this is the intended behavior, I would appreciate it if you could document this change.
The text was updated successfully, but these errors were encountered:
I've found that VNC password authentication is not being enforced in the desktop-lite feature. Here's a reproducible scenario:
Directory Structure
devcontainer.json
compose.yaml
With the above files prepared, start the development container by
Dev Containers: open Folder in Container
Then, open http://localhost:6080 in a web browser. The VNC screen will be displayed without authentication.
To enable VNC password authentication, modify the compose.yaml file as follows:
This is caused by the following process in /usr/local/share/desktop-init.sh, which is generated by install.sh.
By modifying the configuration as shown below, I was able to achieve the desired behavior and enable VNC password authentication. The password used for authentication in this case was "vscode11", which was specified in the devcontainer.json file.
Previously, VNC password authentication was enabled without specifying any environment variables, but now it requires the VNC_PASSWORD environment variable to be set.
If this is the intended behavior, I would appreciate it if you could document this change.
The text was updated successfully, but these errors were encountered: