features icon indicating copy to clipboard operation
features copied to clipboard

[desktop-lite] Option to have password-less, autoconnecting noVNC

Open jhollowe opened this issue 1 year ago • 1 comments

For a local devcontainer with the noVNC only accessible from localhost, it would be great to have an option to remove the password and configure noVNC to automatically connect. It could alternatively leave the password for the TigerVNC but just configure noVNC to automatically supply the password. However, I think keepping the password-iness of the web and VNC in sync would be good. To turn off the password in tigerVNC, you can just add -SecurityTypes None to the command launching the server. I have not looked into noVNC configuration to automatically connect or a default password beside the URL params.

Currently to automatically connect and use the password, I have a launch configuration to launch http://localhost:6080/?autoconnect=true&password=vscode but this is suboptimal.

jhollowe avatar Jul 13 '23 05:07 jhollowe

Thanks for opening! It'd be great if you wanted to open a PR with the update you describe, and we can discuss further from there.

bamurtaugh avatar Jul 27 '23 22:07 bamurtaugh