[GH-ISSUE #251] Kodi does not start #76

Open
opened 2026-10-15 12:48:44 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @Mannshoch on GitHub (Jul 26, 2025).
Original GitHub issue: https://github.com/games-on-whales/gow/issues/251

I freesh installed Wolf. Apps like Firefox and Lutris work but not kodi.
System Ubuntu 25.04 with docker from docker.com

[2025-07-26 12:18:06] 
[2025-07-26 12:18:06] [ /etc/cont-init.d/10-setup_user.sh: executing... ]
[2025-07-26 12:18:06] **** Configure default user ****
[2025-07-26 12:18:06] Setting default user uid=1000(retro) gid=1000(retro)
userdel: ubuntu mail spool (/var/mail/ubuntu) not found
useradd: warning: the home directory /home/retro already exists.
useradd: Not copying any file from skel directory into it.
[2025-07-26 12:18:06] Setting umask to 000
[2025-07-26 12:18:06] Ensure retro home directory is writable
[2025-07-26 12:18:06] Ensure XDG_RUNTIME_DIR is writable
[2025-07-26 12:18:06] DONE
[2025-07-26 12:18:06] 
[2025-07-26 12:18:06] [ /etc/cont-init.d/15-setup_devices.sh: executing... ]
[2025-07-26 12:18:06] **** Configure devices ****
[2025-07-26 12:18:06] Exec device groups
[2025-07-26 12:18:06] Path '/dev/input/*' is not present.
[2025-07-26 12:18:06] Path '/dev/nvidia*' is not present.
[2025-07-26 12:18:06] Adding user 'retro' to groups: video,gow-gid-991
[2025-07-26 12:18:06] DONE
[2025-07-26 12:18:06] 
[2025-07-26 12:18:06] [ /etc/cont-init.d/30-nvidia.sh: executing... ]
[2025-07-26 12:18:06] 
[2025-07-26 12:18:06] [ /etc/cont-init.d/99-startdbus.sh: executing... ]
 * Removing stale PID file /var/run/dbus/pid.
 * Starting system message bus dbus
   ...done.
[2025-07-26 12:18:06] 
[2025-07-26 12:18:06] [ /etc/cont-init.d/init-gamescope.sh: executing... ]
[2025-07-26 12:18:06] Launching the container's startup script as user 'retro'
[2025-07-26 12:18:06] [start] Sourcing /opt/gow/startup.d/10-create-dirs.sh
[2025-07-26 12:18:06] [start-create-dirs] Begin
[2025-07-26 12:18:06] [start-create-dirs] Creating controller config file.
[2025-07-26 12:18:06] [start-create-dirs] End
[2025-07-26 12:18:06] Starting Kodi
[2025-07-26 12:18:06] [Sway] - Starting: `flatpak run tv.kodi.Kodi`
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
Failed to connect to user scope bus via local transport: No such file or directory
(waybar:133): dbind-WARNING **: 12:18:06.407: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
bwrap: capset failed: Operation not permitted
error: ldconfig failed, exit status 256
[2025-07-26 12:18:06.417] [info] Using configuration file /home/retro/.config/waybar/config.jsonc
dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.1' (uid=1000 pid=133 comm="waybar -b bar-0" label="docker-default (enforce)")
dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.3' (uid=1000 pid=154 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)")
dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Activating service name='org.freedesktop.portal.Documents' requested by ':1.3' (uid=1000 pid=154 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)")
dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Successfully activated service 'org.freedesktop.portal.Documents'
fusermount3: fuse device not found, try 'modprobe fuse' first
error: fuse init failed: Can't mount path /tmp/sockets/doc
dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Activating service name='org.freedesktop.impl.portal.desktop.gtk' requested by ':1.3' (uid=1000 pid=154 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)")
(xdg-desktop-portal-gtk:175): dbind-WARNING **: 12:18:06.447: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Successfully activated service 'org.freedesktop.impl.portal.desktop.gtk'
(/usr/libexec/xdg-desktop-portal:154): xdg-desktop-portal-WARNING **: 12:18:06.470: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files
(/usr/libexec/xdg-desktop-portal:154): xdg-desktop-portal-WARNING **: 12:18:06.470: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files
(/usr/libexec/xdg-desktop-portal:154): xdg-desktop-portal-WARNING **: 12:18:06.471: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files
[W][55759.929971] pw.conf      | [          conf.c: 1214 try_load_conf()] can't load config client.conf: No such file or directory
[E][55759.929975] pw.conf      | [          conf.c: 1243 pw_conf_load_conf_for_context()] can't load config client.conf: No such file or directory
(/usr/libexec/xdg-desktop-portal:154): xdg-desktop-portal-WARNING **: 12:18:06.474: Failed connect to PipeWire: Couldn't create PipeWire context
dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Successfully activated service 'org.freedesktop.portal.Desktop'
[2025-07-26 12:18:06.476] [info] Using CSS file /home/retro/.config/waybar/style.css
basic_string::_M_create
[2025-07-26 12:18:06.482] [error] Can't open RFKILL control device
[2025-07-26 12:18:06.619] [warning] Requested height: 30 is less than the minimum height: 35 required by the modules
[2025-07-26 12:18:06.619] [info] Bar configured (width: 1280, height: 35) for output: WL-1
Originally created by @Mannshoch on GitHub (Jul 26, 2025). Original GitHub issue: https://github.com/games-on-whales/gow/issues/251 I freesh installed Wolf. Apps like Firefox and Lutris work but not kodi. System Ubuntu 25.04 with docker from docker.com ``` [2025-07-26 12:18:06] [2025-07-26 12:18:06] [ /etc/cont-init.d/10-setup_user.sh: executing... ] [2025-07-26 12:18:06] **** Configure default user **** [2025-07-26 12:18:06] Setting default user uid=1000(retro) gid=1000(retro) userdel: ubuntu mail spool (/var/mail/ubuntu) not found useradd: warning: the home directory /home/retro already exists. useradd: Not copying any file from skel directory into it. [2025-07-26 12:18:06] Setting umask to 000 [2025-07-26 12:18:06] Ensure retro home directory is writable [2025-07-26 12:18:06] Ensure XDG_RUNTIME_DIR is writable [2025-07-26 12:18:06] DONE [2025-07-26 12:18:06] [2025-07-26 12:18:06] [ /etc/cont-init.d/15-setup_devices.sh: executing... ] [2025-07-26 12:18:06] **** Configure devices **** [2025-07-26 12:18:06] Exec device groups [2025-07-26 12:18:06] Path '/dev/input/*' is not present. [2025-07-26 12:18:06] Path '/dev/nvidia*' is not present. [2025-07-26 12:18:06] Adding user 'retro' to groups: video,gow-gid-991 [2025-07-26 12:18:06] DONE [2025-07-26 12:18:06] [2025-07-26 12:18:06] [ /etc/cont-init.d/30-nvidia.sh: executing... ] [2025-07-26 12:18:06] [2025-07-26 12:18:06] [ /etc/cont-init.d/99-startdbus.sh: executing... ] * Removing stale PID file /var/run/dbus/pid. * Starting system message bus dbus ...done. [2025-07-26 12:18:06] [2025-07-26 12:18:06] [ /etc/cont-init.d/init-gamescope.sh: executing... ] [2025-07-26 12:18:06] Launching the container's startup script as user 'retro' [2025-07-26 12:18:06] [start] Sourcing /opt/gow/startup.d/10-create-dirs.sh [2025-07-26 12:18:06] [start-create-dirs] Begin [2025-07-26 12:18:06] [start-create-dirs] Creating controller config file. [2025-07-26 12:18:06] [start-create-dirs] End [2025-07-26 12:18:06] Starting Kodi [2025-07-26 12:18:06] [Sway] - Starting: `flatpak run tv.kodi.Kodi` amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description. If they do, bad things may happen! amdgpu: amdgpu_cs_ctx_create2 failed. (-13) Failed to connect to user scope bus via local transport: No such file or directory (waybar:133): dbind-WARNING **: 12:18:06.407: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files bwrap: capset failed: Operation not permitted error: ldconfig failed, exit status 256 [2025-07-26 12:18:06.417] [info] Using configuration file /home/retro/.config/waybar/config.jsonc dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.1' (uid=1000 pid=133 comm="waybar -b bar-0" label="docker-default (enforce)") dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.3' (uid=1000 pid=154 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)") dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore' dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Activating service name='org.freedesktop.portal.Documents' requested by ':1.3' (uid=1000 pid=154 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)") dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Successfully activated service 'org.freedesktop.portal.Documents' fusermount3: fuse device not found, try 'modprobe fuse' first error: fuse init failed: Can't mount path /tmp/sockets/doc dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Activating service name='org.freedesktop.impl.portal.desktop.gtk' requested by ':1.3' (uid=1000 pid=154 comm="/usr/libexec/xdg-desktop-portal" label="docker-default (enforce)") (xdg-desktop-portal-gtk:175): dbind-WARNING **: 12:18:06.447: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Successfully activated service 'org.freedesktop.impl.portal.desktop.gtk' (/usr/libexec/xdg-desktop-portal:154): xdg-desktop-portal-WARNING **: 12:18:06.470: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files (/usr/libexec/xdg-desktop-portal:154): xdg-desktop-portal-WARNING **: 12:18:06.470: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files (/usr/libexec/xdg-desktop-portal:154): xdg-desktop-portal-WARNING **: 12:18:06.471: Failed to load RealtimeKit property: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.RealtimeKit1 was not provided by any .service files [W][55759.929971] pw.conf | [ conf.c: 1214 try_load_conf()] can't load config client.conf: No such file or directory [E][55759.929975] pw.conf | [ conf.c: 1243 pw_conf_load_conf_for_context()] can't load config client.conf: No such file or directory (/usr/libexec/xdg-desktop-portal:154): xdg-desktop-portal-WARNING **: 12:18:06.474: Failed connect to PipeWire: Couldn't create PipeWire context dbus-daemon[107]: [session uid=1000 pid=107 pidfd=5] Successfully activated service 'org.freedesktop.portal.Desktop' [2025-07-26 12:18:06.476] [info] Using CSS file /home/retro/.config/waybar/style.css basic_string::_M_create [2025-07-26 12:18:06.482] [error] Can't open RFKILL control device [2025-07-26 12:18:06.619] [warning] Requested height: 30 is less than the minimum height: 35 required by the modules [2025-07-26 12:18:06.619] [info] Bar configured (width: 1280, height: 35) for output: WL-1 ```
Author
Owner

@graydini commented on GitHub (Jan 11, 2026):

I had the issue too, the kodi flatpak was failing to launch because of a missing samba dependency. Since I don't really see a point in using flatpak INSIDE docker , i made a PR that runs it natively. (no controller support yet)
https://github.com/games-on-whales/gow/pull/283

<!-- gh-comment-id:3734011717 --> @graydini commented on GitHub (Jan 11, 2026): I had the issue too, the kodi flatpak was failing to launch because of a missing samba dependency. Since I don't really see a point in using flatpak INSIDE docker , i made a PR that runs it natively. (no controller support yet) https://github.com/games-on-whales/gow/pull/283
Author
Owner

@camelcx commented on GitHub (Feb 2, 2026):

I had the same problem and managed to fix it locally. So there was 2 problem for me:

  1. Bubblewrap permission (same as OP: bwrap: capset failed: Operation not permitted). I needed to change the host config in the config.toml file like this (I copied from the Steam config, not sure if everything is needed, but at least "SYS_ADMIN"):
    "CapAdd": ["SYS_ADMIN", "SYS_NICE", "SYS_PTRACE", "NET_RAW", "MKNOD", "NET_ADMIN"],
    "SecurityOpt": ["seccomp=unconfined", "apparmor=unconfined"],
  1. samba dependency missing is due to a known issue of the flatpak at the time Kodi:edge was built. I have rebuilt the image locally without changing anything and it works afterwards.
<!-- gh-comment-id:3834165981 --> @camelcx commented on GitHub (Feb 2, 2026): I had the same problem and managed to fix it locally. So there was 2 problem for me: 1. Bubblewrap permission (same as OP: bwrap: capset failed: Operation not permitted). I needed to change the host config in the config.toml file like this (I copied from the Steam config, not sure if everything is needed, but at least "SYS_ADMIN"): ``` "CapAdd": ["SYS_ADMIN", "SYS_NICE", "SYS_PTRACE", "NET_RAW", "MKNOD", "NET_ADMIN"], "SecurityOpt": ["seccomp=unconfined", "apparmor=unconfined"], ``` 2. samba dependency missing is due to a known issue of the flatpak at the time Kodi:edge was built. I have rebuilt the image locally without changing anything and it works afterwards.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/gow#76
No description provided.