Kodi don't start

Hello, I install Kodi on my Rpi4 where I have already Nextcloud and Emby server installed. I set Kodi to autostart but when I connect Rpi4 to TV there’s terminal. I click Kodi on that menu.
Edit. OK I set Dietpi user not root. It works on root.

Hi,

I honestly did not understood your question. If you select Kodi as autostart, you would need to reboot your system to have Kodi launched during boot. Usually you should see on your TV screen the boot process

Hi, I edited first post. I need to login as root not dietpi user. Thanks for fast reply. Admin can delete my post.

yes that’s an actual behavior that auto start of applications works with root user only. It might change on a later version.

hi,

have kodi also in auostart, user = root
I get an error message with :
start_kodi: 39: exec: xinit: not found
Ideas? DietPi 7.6.2
Thanks

There is a component missing. Try following

dietpi-software install 6

Thanks! Works! :slight_smile:

Any idea why Kodi doesn’t show me the repository under addons? I can’t install anything from the internet, even though Kodi says the internet is connected. Can you help me here, or do I have to go to the Kodi forum? (repository button missing)

Thanks

could you share the package you have installed

dpkg -l kodi

ii kodi 2:19.1+dfsg2-2 arm64 Open Source Home Theatre (executable binaries)

hmm we install Kodi from global Debian repository. There is nothing special on it. I guess it’s a challenge of the package themselves. I compared it with our own package we create on 32bit and there the point is available. :thinking:

Solved with: https://github.com/MichaIng/DietPi/commit/48ad84b
Changelog: https://github.com/MichaIng/DietPi/blob/407be68/CHANGELOG.txt#L10

I’m thinking to send a live patch as well :thinking:.

All right, then it was not me :slight_smile:

Recommendation? Kodi uninstall, wait for patch, Kodi reinstall?

The patch was about having the X server installed with Kodi on RPi 64-bit systems, which you already did, not about the addons repository.

For the letter, it’s a dedicated package on Debian :slight_smile::

apt install kodi-repository-kodi

Something we may want to add to our docs :thinking:. I’m just not sure if that is required or whether the same package works with the Kodi for RPI 32-bit mages and the ones for Odroids.

MichaIng
Should we install the repository package in addition to Kodi by default?

Thanks, the live patch was shown to me, likewise I was able to apt install kodi-repository-kodi the repository. Seems to good for me now :slight_smile:

Probably makes sense, at least for the Debian kodi package. I’ll check weither it is needed for RPi, our own and Odroid Kodi as well.

I did a test installation using our image and the point was available