Skip to content

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

@Cyber1000

Description

@Cyber1000

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions