Originally created by @chengjiaozyl on GitHub (Dec 3, 2021).
I have startup osx on win10 and wsl2(ubuntu subsystem), but after i run the docker command, like docker run .... sickcodes/docker-osx:latest, the x11 server got the gui output and showed in a window, after compiling, i could enter the boot menu, but usually, i got stuck and could not use mouse or keyboard anymore after i used the disk utility to erase a disk or i clicked the reinstall the mac os. Did it mean that any hardware on my pc could not handle this?
Originally created by @chengjiaozyl on GitHub (Dec 3, 2021).
I have startup osx on win10 and wsl2(ubuntu subsystem), but after i run the docker command, like docker run .... sickcodes/docker-osx:latest, the x11 server got the gui output and showed in a window, after compiling, i could enter the boot menu, but usually, i got stuck and could not use mouse or keyboard anymore after i used the disk utility to erase a disk or i clicked the reinstall the mac os. Did it mean that any hardware on my pc could not handle this?
any luck with the mouse or keyboard functional? I ran into similar issue, during installation, unable to select Dist Utility or reinstall Big Sur @chengjiaozyl
@tobatha commented on GitHub (Dec 5, 2021):
any luck with the mouse or keyboard functional? I ran into similar issue, during installation, unable to select Dist Utility or reinstall Big Sur @chengjiaozyl
I haven't experience this situation.
I've used WSLg and it work great but not perfect, here a problem with WSLg
You can also use vnc to bypass this problem, just use -vnc :0 and connect via VNC Client
@MikeCoder96 commented on GitHub (Dec 5, 2021):
I haven't experience this situation.
I've used WSLg and it work great but not perfect, [here a problem with WSLg](https://github.com/microsoft/wslg/issues/583)
You can also use vnc to bypass this problem, just use -vnc :0 and connect via VNC Client
any luck with the mouse or keyboard functional? I ran into similar issue, during installation, unable to select Dist Utility or reinstall Big Sur @chengjiaozyl
just as sickcodes says, allocate more ram while start your container.
I also have experienced this, it's due to low ram
-e RAM=5
thanks, it works.
@chengjiaozyl commented on GitHub (Dec 6, 2021):
> any luck with the mouse or keyboard functional? I ran into similar issue, during installation, unable to select Dist Utility or reinstall Big Sur @chengjiaozyl
just as sickcodes says, allocate more ram while start your container.
> I also have experienced this, it's due to low ram
>
> -e RAM=5
thanks, it works.
any luck with the mouse or keyboard functional? I ran into similar issue, during installation, unable to select Dist Utility or reinstall Big Sur @chengjiaozyl
just as sickcodes says, allocate more ram when you start your container.
@chengjiaozyl commented on GitHub (Dec 6, 2021):
> any luck with the mouse or keyboard functional? I ran into similar issue, during installation, unable to select Dist Utility or reinstall Big Sur @chengjiaozyl
just as sickcodes says, allocate more ram when you start your container.
@chengjiaozyl commented on GitHub (Dec 6, 2021):
>
thank you, is that mean i can use the following command and use vnc to connect it? @[MikeCoder96](https://github.com/MikeCoder96)
```
docker run -i \
--device /dev/kvm \
-p 50922:10022 \
-p 5999:5999 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=${DISPLAY:-:0.0}" \
-e EXTRA="-display none -vnc 0.0.0.0:99,password=on" \
sickcodes/docker-osx:big-sur
```
@chengjiaozyl yes, it will work with vnc client.
I will put an .sh file to start docker-OSX with VNC Server and make pull request.
@MikeCoder96 commented on GitHub (Dec 6, 2021):
@chengjiaozyl yes, it will work with vnc client.
I will put an .sh file to start docker-OSX with VNC Server and make pull request.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @chengjiaozyl on GitHub (Dec 3, 2021).
I have startup osx on win10 and wsl2(ubuntu subsystem), but after i run the docker command, like docker run .... sickcodes/docker-osx:latest, the x11 server got the gui output and showed in a window, after compiling, i could enter the boot menu, but usually, i got stuck and could not use mouse or keyboard anymore after i used the disk utility to erase a disk or i clicked the reinstall the mac os. Did it mean that any hardware on my pc could not handle this?
@sickcodes commented on GitHub (Dec 3, 2021):
I also have experienced this, it's due to low ram
-e RAM=5
@tobatha commented on GitHub (Dec 5, 2021):
any luck with the mouse or keyboard functional? I ran into similar issue, during installation, unable to select Dist Utility or reinstall Big Sur @chengjiaozyl
@MikeCoder96 commented on GitHub (Dec 5, 2021):
I haven't experience this situation.
I've used WSLg and it work great but not perfect, here a problem with WSLg
You can also use vnc to bypass this problem, just use -vnc :0 and connect via VNC Client
@chengjiaozyl commented on GitHub (Dec 6, 2021):
just as sickcodes says, allocate more ram while start your container.
@chengjiaozyl commented on GitHub (Dec 6, 2021):
just as sickcodes says, allocate more ram when you start your container.
@chengjiaozyl commented on GitHub (Dec 6, 2021):
thank you, is that mean i can use the following command and use vnc to connect it? @MikeCoder96
@MikeCoder96 commented on GitHub (Dec 6, 2021):
@chengjiaozyl yes, it will work with vnc client.
I will put an .sh file to start docker-OSX with VNC Server and make pull request.
@sickcodes commented on GitHub (Dec 28, 2021):
Type
device_add usb-mousecurrently is the solution