mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Feature Request: Install NoVNC and set password through Docker Env #242
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mhaqqiw on GitHub (Sep 15, 2021).
It will be helpful if we can set VNC password using
-e VNC_PASSWORD=<anything>With NoVNC we are not only can remote using VNC but also from browser. Here the example:
https://hub.docker.com/r/dorowu/ubuntu-desktop-lxde-vnc/
Overall this is greate project. Thanks
@sickcodes commented on GitHub (Sep 15, 2021):
I will upload QEMU sock instructions where you can do key typing OTA, either outside or inside the container.
@sickcodes commented on GitHub (Sep 15, 2021):
-monitor unix:qemu.socket,server,nowait-e EXTRA='-display none -vnc 0.0.0.0:99,password=on -monitor unix:qemu.socket,server,nowait' \Then socat to the sock:
More examples:
@mhaqqiw commented on GitHub (Sep 16, 2021):
I'm trying run with this command. but still can't connect to VNC
docker run -i -d --name osx_big-sur --device /dev/kvm -p 50922:10022 -p 5999:5999 -v /tmp/.X11-unix:/tmp/.X11-unix -e QEMU_SOCK="${PWD}/qemu.socket" -e USERNAME=test -e PASSWORD=test -e "DISPLAY=${DISPLAY:-:0.0}" -e EXTRA="-display none -vnc 0.0.0.0:99,password=on -monitor unix:qemu.socket,server,nowait" sickcodes/docker-osx:big-surThis is the log
@sickcodes commented on GitHub (Sep 16, 2021):
Did you type "change vnc password user" into the Docker terminal and set a password?
@mhaqqiw commented on GitHub (Sep 20, 2021):
i run docker in detach mode, so i can use interactive mode to input password
@sickcodes commented on GitHub (Sep 20, 2021):
@GodTamIt commented on GitHub (Dec 16, 2021):
When running this, I'm getting that the socket refused connection ^
@sickcodes commented on GitHub (Dec 17, 2021):
@GodTamIt Ahh because I didn't add it to the main Dockerfile.
You will have to
docker exec -it CHANGE_ME /bin/bash -c "sudo chown -R \$(id -u):\$(id -g) qemu.socket" && bash Launch.sh@10bn commented on GitHub (May 22, 2022):
Will there also be a bundled docker image that has the no-vnc web client included which could be used in combination with a reverse proxy and an authentication provider?
Thx for the great work on this this project!
@kroese commented on GitHub (Jun 8, 2024):
@10bn You can do that using https://github.com/dockur/macos