- 
                Notifications
    
You must be signed in to change notification settings  - Fork 63
 
Open
Description
My setup:
- Windows 10 (22H2) with WSL2
 - on WSL2 running systemd with podman (but it may be docker as well)
 - wsl2 in newer version can also start UI apps in wsl and open GUI-windows in windows, even pulseaudio works!
 
All I have to start within my wsl2 (for me it's ubuntu 20.04):
docker run -e DISPLAY=$DISPLAY -e XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR -e PULSE_SERVER=$PULSE_SERVER -v /tmp/.X11-unix:/tmp/.X11-unix -v /mnt/wslg:/mnt/wslg ehough/docker-kodi
- As said this opens kodi on windows quite natevely (running within an docker container on wsl) - no cygwinX, x11docker or anything
- disclaimer: you'll need a newer windows10 (and maybe newer driver), read the microsoft-article I supplied
 
 
What I want to do with this setup:
- addon development without messing with my OS
 
I didn't try it on linux for now, but I think docker run -e DISPLAY=$DISPLAY ... should also work on linux this way ...
What's the point with this issue?
- Maybe add an entry for wsl2 in the readme (I could make a PR, if you wish)
 - Why use x11docker, if a more or less simple "docker run" could do the same?
 
SOberdorfer
Metadata
Metadata
Assignees
Labels
No labels