-
Notifications
You must be signed in to change notification settings - Fork 379
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
Could not run kodi container on pure wayland machine via x11docker #166
Comments
I've found the issue: Option However, kodi fails with:
This should be reported at ehough/docker-kodi#26 x11docker succeeds in a pure Wayland environment with:
|
Oh, I see. I wasn't sure about
As I stated in another thread it's a fresh install and logind might be misconfigured easily. At least both logind and dbus daemons are running and seats are reported correctly and wayland session starts ok with weston-launch. |
Most systems are configured to be able to run A related Debian related ticket sheds some light: https://gitlab.freedesktop.org/wayland/weston/issues/204 Three possible attempts:
EDIT: I've tried the first attempt, it is not possible. x11docker runs the compositor in background (with
I've found no way to fool this check. |
Thanks for the tips! I'll try to sort it out somehow upon return and inform on the results. At least I've a good test -- if weston would launch in a background from a tty without |
@mviereck |
Ok, thanks for reporting back. However, you could still try:
I did a test with kodi adding missing Wayland packages and get a different error now: ehough/docker-kodi#26 (comment) I think we can close this ticket for now and continue in the docker-kodi ticket. |
The user was in |
oh, ok. Maybe I misunderstood that. Thanks for the info! Could you please provide the link to the Void linux bug report? I'd like to look at it, too. Overall Void is an interesting project. |
And maybe I did... |
As an alternate attempt you can install Xwayland and run in an already running Wayland session:
or with weston+Xwayland:
However, both attempts use the X backend of kodi and do not fit the desire to run a pure Wayland environment. |
I have encircled the issue, however, I don't have an idea why and how to solve. Executing |
I found that I can reproduce the issue with command
Unfortunately I did not find an explanation or a solution. |
Well, I believe it's how the unix shell works: creating separated instance on sub-command. If it's the root of the issue, it's unresolvable. So only |
I've encountered a related issue in #176 where EDIT: I had to remove the options in the shebang, it is not portable. (#176 (comment)) Workaround: You can run x11docker with EDIT2: This workaround is unreliable due to a bug in bash: #176 (comment) |
I've introduced an experimental option However, I am not sure if this setup is entirely stable and reliable. In my test runs it seems to be ok, but I am not aware of all implications. Another possibility, less recommended, is to source x11docker into the shell with |
Trying to run kodi via
x11docker -- wayland -- tty --gpu --alsa --homedir /home/docker erichough/kodi
gets
invalid volume specification: '/run/user/1000/:/:rw' invalid mount config for type "bind": destination can't be '/'.
Adding
"-v /run/user/1000:/tmp:rw"
doesn't help.XDG_RUNTIME_DIR
is manually set and exported on a host machine.I'm not quite familiar with docker yet so I probably would need some directions...
UPDATE:
XDG_RUNTIME_DIR
being unset makes the"/:/:rw"
insteadx11docker.log at pastebin.com
The text was updated successfully, but these errors were encountered: