Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot change VNC password #789

Open
shwuhk opened this issue Jul 23, 2024 · 3 comments
Open

Cannot change VNC password #789

shwuhk opened this issue Jul 23, 2024 · 3 comments

Comments

@shwuhk
Copy link

shwuhk commented Jul 23, 2024

docker run -i
--device /dev/kvm
-p 50922:10022
-p 5999:5999
-v /mnt/wslg/.X11-unix:/tmp/.X11-unix
-e "DISPLAY=${DISPLAY:-:0.0}"
-e EXTRA="-display none -vnc 0.0.0.0:99,password=on"
-e GENERATE_UNIQUE=true
-e CPU='Haswell-noTSX'
-e CPUID_FLAGS='kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on'
-e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom-sonoma.plist'
sickcodes/docker-osx:sonoma

Using the following command to run, when I type change vnc password username, it didn't prompt for a password. And also, whenever I type enter, two lines of (qemu) comes out, is that normal?

(qemu) change vnc password userd
change vnc password userd
(qemu)
(qemu)
@SimonBard
Copy link

You changed the password to "userd"
You do not specify a user.

@SimonBard
Copy link

This happens if you really cannot set a password, its just happening to me:

(qemu) change vnc password justanexample
Error: Could not set password

And please format the text next time for readability

@shwuhk
Copy link
Author

shwuhk commented Jul 25, 2024

This happens if you really cannot set a password, its just happening to me:

(qemu) change vnc password justanexample
Error: Could not set password

And please format the text next time for readability

Thanks for your help.
Question is updated for readbility.

I can login now with "userd".

I saw from the others that this placement should be the username and password is prompt next, is it changed or it was always behave like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants