mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-22 05:51:32 -06:00
Update via @Error996 https://github.com/Error996
Thanks @Error996! https://github.com/sickcodes/Docker-OSX/discussions/458
This commit is contained in:
parent
43a4c0b0d9
commit
2d6d4b670a
10
README.md
10
README.md
@ -569,11 +569,19 @@ Finally, there are 3 ways to get video output:
|
|||||||
|
|
||||||
To use WSLg's built-in X-11 server, change these two lines in the docker run command to point Docker-OSX to WSLg.
|
To use WSLg's built-in X-11 server, change these two lines in the docker run command to point Docker-OSX to WSLg.
|
||||||
|
|
||||||
```bash
|
```
|
||||||
|
-e "DISPLAY=${DISPLAY:-:0.0}" \
|
||||||
|
-v /mnt/wslg/.X11-unix:/tmp/.X11-unix \
|
||||||
|
```
|
||||||
|
Or try:
|
||||||
|
|
||||||
|
```
|
||||||
-e "DISPLAY=${DISPLAY:-:0}" \
|
-e "DISPLAY=${DISPLAY:-:0}" \
|
||||||
-v /mnt/wslg/.X11-unix:/tmp/.X11-unix \
|
-v /mnt/wslg/.X11-unix:/tmp/.X11-unix \
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For Ubuntu 20.x on Windows, see [https://github.com/sickcodes/Docker-OSX/discussions/458](https://github.com/sickcodes/Docker-OSX/discussions/458)
|
||||||
|
|
||||||
- VNC: See the [VNC section](#building-a-headless-container-which-allows-insecure-vnc-on-localhost-for-local-use-only) for more information. You could also add -vnc argument to qemu. Connect to your mac VM via a VNC Client. [Here is a how to](https://wiki.archlinux.org/title/QEMU#VNC)
|
- VNC: See the [VNC section](#building-a-headless-container-which-allows-insecure-vnc-on-localhost-for-local-use-only) for more information. You could also add -vnc argument to qemu. Connect to your mac VM via a VNC Client. [Here is a how to](https://wiki.archlinux.org/title/QEMU#VNC)
|
||||||
- Desktop Environment: This will give you a full desktop linux experiencem but it will use a bit more of the computer's resources. Here is an example guide, but there are other guides that help set up a desktop environment. [DE Example](https://www.makeuseof.com/tag/linux-desktop-windows-subsystem/)
|
- Desktop Environment: This will give you a full desktop linux experiencem but it will use a bit more of the computer's resources. Here is an example guide, but there are other guides that help set up a desktop environment. [DE Example](https://www.makeuseof.com/tag/linux-desktop-windows-subsystem/)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user