Posts: 4
Joined: May 2015
Reputation:
0
Hi guys!
I installed on Raspbian the Kodi 14.2
I have a problem
Kodi does not run on system startup
System V script in /etc/init.d/ created automatically
But it does not work
I could not find a solution
Who knows how to make autorun Kodi in Raspbian?
Thank you!
Posts: 1
Joined: Sep 2016
Reputation:
0
After I changed enabled=1 it work fine. But all the add-on and files in Music, Videos are not listed.
When I exit Kodi and again come back from desktop it works fine. Please help.
Posts: 8,895
Joined: Feb 2011
Reputation:
418
I'd suggest you use OSMC if you want to kodi to autorun.
It is much better configured and optimised (and more up to date) than the version in raspbian.
You'll still have access to installing debian packages.
Posts: 17
Joined: Jun 2016
Reputation:
0
when run from /etc/default/kodi with enabled=1 or from a supervisor program Kodi will not load my custom theme. The same behavior when a "sudo kodi-standalone" is issued as opposed to non sudo (with whom kodi starts in the desired theme).
Could it be that both /etc/... and supervisor ways of starting kodi are use the super user?
Posts: 17
Joined: Jun 2016
Reputation:
0
Just tested it. On raspberry.
Running kodi from rc.local or supervisor will start the process as root, causing all sorts of problems.
What I did is added this line to rc.local:
su - pi -c "kodi-standalone"
Now kodi starts at boot under pi user, with my custom theme and doesn't restart if I try to quit it.