Kodi Error - Kodi not starting Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: Kodi Error - Kodi not starting

Post by Joulinar »

yes, RPi devs did some development and on RPi4 64bit it was working on my test I did this week
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
wmcig
Posts: 39
Joined: Wed Aug 25, 2021 12:17 pm

Re: Kodi Error - Kodi not starting

Post by wmcig »

Joulinar wrote: Thu Nov 18, 2021 11:53 am yes, RPi devs did some development and on RPi4 64bit it was working on my test I did this week

Code: Select all

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:

Code: Select all

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
Something is still wrong?
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: Kodi Error - Kodi not starting

Post by Joulinar »

usually not. Kodi should start on an attached screen.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
wmcig
Posts: 39
Joined: Wed Aug 25, 2021 12:17 pm

Re: Kodi Error - Kodi not starting

Post by wmcig »

So I should use an HDMI cable from my Raspi to my TV and then I try the command again?
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: Kodi Error - Kodi not starting

Post by Joulinar »

yes Kodi as an application that require a monitor. It's not something you could run on a SSH client.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 3514
Joined: Sat Nov 18, 2017 6:21 pm

Re: Kodi Error - Kodi not starting

Post by MichaIng »

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.
wmcig
Posts: 39
Joined: Wed Aug 25, 2021 12:17 pm

Re: Kodi Error - Kodi not starting

Post by wmcig »

:?
So I can not use Kodi via Raspi 4 to my TV Screen with HDMI?

Code: Select all

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.
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: Kodi Error - Kodi not starting

Post by Joulinar »

of course you can use Kodi an a HDMI connected screen
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
wmcig
Posts: 39
Joined: Wed Aug 25, 2021 12:17 pm

Re: Kodi Error - Kodi not starting

Post by wmcig »

Joulinar wrote: Tue Nov 23, 2021 10:52 am of course you can use Kodi an a HDMI connected screen
But I only have no kodi on my screen and the above error code in my terminal.
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: Kodi Error - Kodi not starting

Post by Joulinar »

messages on console are ok. Try following

Code: Select all

/boot/dietpi/func/dietpi-set_hardware rpi-opengl vc4-kms-v3d
startkodi
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply