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

Do we really need x11docker? (or how to use it with wsl2 on windows) #53

Open
Cyber1000 opened this issue Dec 26, 2022 · 0 comments
Open

Comments

@Cyber1000
Copy link

My setup:

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?
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

1 participant