I am using the latest DietPi version. I also installed Docker for using pihole.
Now I installed Kodi via the Software Center.
After using the command “startkodi” the following error was shown:
root@DietPi:~# startkodi
libva info: VA-API version 1.10.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
sh: 1: nmblookup: not found
sh: 1: nmblookup: not found
sh: 1: nmblookup: not found
sh: 1: nmblookup: not found
sh: 1: nmblookup: not found
sh: 1: nmblookup: not found
sh: 1: nmblookup: not found
^C
ok on RPi4 we have a know issue to start Kodi. Currently we are not sure why Kodi is started on background. Still something we don’t have a solution for.
Actually it’s still not clear why this happen on RPi4. Something we would need to check with RPi and or Kodi guys, if I understood correct from our developer
DietPi-Software
─────────────────────────────────────────────────────
Step: Install completed
[ OK ] DietPi-Survey | Purging survey data
[ SUB1 ] DietPi-Services > restart
[ OK ] DietPi-Services | restart : avahi-daemon
[ OK ] DietPi-Services | restart : proftpd
[ OK ] DietPi-Services | restart : php7.4-fpm
[ OK ] DietPi-Services | restart : nginx
[ OK ] DietPi-Services | restart : lighttpd
[ OK ] DietPi-Services | restart : cron
root@DietPi:~# startkodi
-bash: startkodi: command not found
After reboot:
root@DietPi:~# startkodi
failed to open zone.tab
error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 1.10.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
^C
Indeed, like all GUI applications. For X11, there is an X11 forwarding feature, which is by default enabled on OpenSSH as well as on Dropbear SSH servers, and which can be enabled on PuTTY. Then one needs to run a local X server on the client system, e.g. Xming on Windows. But I don’t think passing a playing video through SSH will work at all, and the RPi Kodi build uses GBM/DRM and not the X server, so no chance.
So I can not use Kodi via Raspi 4 to my TV Screen with HDMI?
startkodi
failed to open zone.tab
error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 1.10.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
I thought that the app would Start as media center on the Raspi.