microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
10.25k stars 307 forks source link

Cannot change vnc password #1274

Closed shwuhk closed 3 months ago

shwuhk commented 3 months ago

Windows build number:

22631.3880

Your Distribution version:

20.04

Your WSL versions:

WSL 版本: 2.2.4.0 核心版本: 5.15.153.1-2 WSLg 版本: 1.0.61 MSRDC 版本: 1.2.5326 Direct3D 版本: 1.611.1-81528511 DXCore 版本: 10.0.26091.1-240325-1447.ge-release Windows 版本: 10.0.22631.3880

Steps to reproduce:

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.

(qemu) change vnc password userd change vnc password userd (qemu) (qemu)

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

No response

Actual behavior:

It looks like strnage too that when I type enter, two lines of (qemu) comes out.