Kodi Community Forum
v20 Kodi 20 Nexus only starts with sudo - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: v20 Kodi 20 Nexus only starts with sudo (/showthread.php?tid=373512)



Kodi 20 Nexus only starts with sudo - dafrizz - 2023-06-18

Hi,

I've just updated my arch linux system, including updating from Kodi 18 to Kodi 20 and now Kodi only starts properly when I use "sudo".

When I start kodi normally (i.e. without sudo) I get the Nexus startup screen and then a black screen.

When I use sudo it starts normally, but not with the right settings, e.g. no media sources defined etc. I guess that is expected as it runs with the wrong user.

Debug log from normal user: https://paste.kodi.tv/ezuyojicey.kodi

Any help would be much appreciated.


RE: Kodi 20 Nexus only starts with sudo - izprtxqkft - 2023-06-18

line 544 SQL: [MyVideos121] The table does not exist

if its running from sudo fine then the user is unable to access the mysql server as a non-sudo user and you need to look into fixing the user permissions on the mysql side of things

i found this similar post on stack exchange but its not the only search result for mysql requiring sudo - https://dba.stackexchange.com/questions/310912/why-mysql-only-works-for-root-user

i dont use mysql so i cannot advise beyond this


RE: Kodi 20 Nexus only starts with sudo - dafrizz - 2023-06-19

Thanks for your reply and help.

I looked into this but could not get it resolved. I created a new user under MySQL, assigned what I thought are the right permissions but it just wouldn't work. I the removed the database sharing (removed advanced settings.xml), only to find that audio wasn't working anymore either.

I think I'm ready to move to a different frontend solution (e.g. Nvidia shield), I just don't have the time or energy anymore to keep tinkering with an arch setup.


RE: Kodi 20 Nexus only starts with sudo - izprtxqkft - 2023-06-19

if arch isnt working for you and you wish to keep your existing hardware and stay on linux most of the tinkering has already been done on libreelec so it pretty much works out of the box


RE: Kodi 20 Nexus only starts with sudo - dafrizz - 2023-06-25

Thank you.

I have persisted with my current setup and made some progress. Ditched the database library sharing and got kodi working ok. Then ditched mythtv and moved to tvheadend for live tv.

Currently having some issues with getting tvheadend to work reliably (i.e. works after setting up with --first run, then stops working). Might have to start a new thread if I can't get it resolved.