vnc password #157

Open
opened 2025-12-29 00:18:45 +01:00 by adam · 10 comments
Owner

Originally created by @ghost on GitHub (Mar 30, 2021).

https://github.com/sickcodes/Docker-OSX#i-need-vnc-to-a-remote-host-secure
When I see qemu and change vnc password. How do I get out of this container. I use the quit command to exit the container, and the container will close automatically. When I try to restart the container, the VNC link will prompt me with the wrong password.

Originally created by @ghost on GitHub (Mar 30, 2021). https://github.com/sickcodes/Docker-OSX#i-need-vnc-to-a-remote-host-secure When I see qemu and change vnc password. How do I get out of this container. I use the quit command to exit the container, and the container will close automatically. When I try to restart the container, the VNC link will prompt me with the wrong password.
Author
Owner

@sickcodes commented on GitHub (Mar 31, 2021):

Added notes in b161ad7afd

To exit a container using -i you must docker kill <containerid>. For example, to kill everything, docker ps | xargs docker kill.

@sickcodes commented on GitHub (Mar 31, 2021): Added notes in https://github.com/sickcodes/Docker-OSX/commit/b161ad7afd0b62a3ff5f5091d6c27321ee752bba **To exit a container using -i you must `docker kill <containerid>`. For example, to kill everything, `docker ps | xargs docker kill`.**
Author
Owner

@sickcodes commented on GitHub (Mar 31, 2021):

With respect to restarting the container, docker start -ai <containerid> or docker start -i <containerid> I have not tested yet. I will test tonight, but let me know if you test before I do.

@sickcodes commented on GitHub (Mar 31, 2021): With respect to restarting the container, `docker start -ai <containerid>` or `docker start -i <containerid>` I have not tested yet. I will test tonight, but let me know if you test before I do.
Author
Owner

@ghost commented on GitHub (Apr 2, 2021):

Sorry, I may not have made myself clear.In your tutorial about https://github.com/sickcodes/Docker-OSX#i-need-vnc-to-a-remote-host-secure. You said "In the Docker terminal, press enter until you see (qemu). Type change vnc password".I use this command "change vnc password" to change the password to 123456, then VNC is used to connect the image with passeord 123456 successfully. But I don't know how to exit this container. If I use the quit command, the image will be closed automatically. Then I try to start the closed image. If I use VNC to link the image again, I will be prompted with the wrong password. Does it mean that the password I changed earlier is invalid after the container is closed.

@ghost commented on GitHub (Apr 2, 2021): Sorry, I may not have made myself clear.In your tutorial about https://github.com/sickcodes/Docker-OSX#i-need-vnc-to-a-remote-host-secure. You said "In the Docker terminal, press enter until you see (qemu). Type change vnc password".I use this command "change vnc password" to change the password to 123456, then VNC is used to connect the image with passeord 123456 successfully. But I don't know how to exit this container. If I use the quit command, the image will be closed automatically. Then I try to start the closed image. If I use VNC to link the image again, I will be prompted with the wrong password. Does it mean that the password I changed earlier is invalid after the container is closed.
Author
Owner

@sickcodes commented on GitHub (Apr 2, 2021):

I believe you have to set a new password on each boot with qemu. That would be for security reasons

@sickcodes commented on GitHub (Apr 2, 2021): I believe you have to set a new password on each boot with qemu. That would be for security reasons
Author
Owner

@ghost commented on GitHub (Apr 4, 2021):

I use a strong password like "QWE123456zxc", the same problem occurred

@ghost commented on GitHub (Apr 4, 2021): I use a strong password like "QWE123456zxc", the same problem occurred
Author
Owner

@sickcodes commented on GitHub (Apr 4, 2021):

Everytime you run qemu you will need to set the password, unless you edit qemu.conf inside the container

https://gist.github.com/marcolivierarsenault/07fda832a5c773944ff7

@sickcodes commented on GitHub (Apr 4, 2021): Everytime you run qemu you will need to set the password, unless you edit qemu.conf inside the container https://gist.github.com/marcolivierarsenault/07fda832a5c773944ff7
Author
Owner

@ghost commented on GitHub (Apr 5, 2021):

Thanks a lot. I've solved my problem

@ghost commented on GitHub (Apr 5, 2021): Thanks a lot. I've solved my problem
Author
Owner

@saied89 commented on GitHub (Dec 6, 2021):

I can't VNC into the container after stopping it once. Probably because "you have to set a new password on each boot with qemu". Can you please specify how to set a fresh qemu vnc password when starting a container with docker start containerid?

@saied89 commented on GitHub (Dec 6, 2021): I can't VNC into the container after stopping it once. Probably because "you have to set a new password on each boot with qemu". Can you please specify how to set a fresh qemu vnc password when starting a container with `docker start containerid`?
Author
Owner

@saied89 commented on GitHub (Dec 6, 2021):

For anyone having issue with vnc password after stopping the container, you can start the container with -i flag and get the qemu console.

docker start -i containerid
@saied89 commented on GitHub (Dec 6, 2021): For anyone having issue with vnc password after stopping the container, you can start the container with -i flag and get the qemu console. ``` docker start -i containerid ```
Author
Owner

@charles-ckai commented on GitHub (May 18, 2023):

For anyone having issue with vnc password after stopping the container, you can start the container with -i flag and get the qemu console.

docker start -i containerid

thanks.it's useful for me

@charles-ckai commented on GitHub (May 18, 2023): > For anyone having issue with vnc password after stopping the container, you can start the container with -i flag and get the qemu console. > > ``` > docker start -i containerid > ``` thanks.it's useful for me
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#157