Kodi Community Forum
Log out only restarts Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Amber (https://forum.kodi.tv/forumdisplay.php?fid=203)
+---- Thread: Log out only restarts Kodi (/showthread.php?tid=377086)



Log out only restarts Kodi - Klasw - 2024-04-12

I am on Debian 12 (Bookworm) with Lightdm as display manager, and though I should change skin to Amber (used Confluence before). Kodi is though stand alone.
When I try to log out, Kodi just restart.

I found the place in gui to change it, now there is; Quit() 
What do I put in to getKodi to log out to Lightdm?

EDIT
Well, it actually quit Kodi, with the Quit() command,  but also reastarts  Kodi. I tried;
killall kodi
.. in other  tty, and Kodi just restart. I did not have this problem in Confluence, what can bee wrong?


RE: Log out only restarts Kodi - Klasw - 2024-04-12

I figured it out by my self.

Edit; /usr/bin/kodi-standalone

Added after; else # crash, text; LOOP=0

Code:

 else # crash
        LOOP=0
    DIFF=$((NOW-LASTSUCCESSFULSTART))
...

Was actually this post on Raspberrypi forum that had this solution.

https://forums.raspberrypi.com/viewtopic.php?t=100811&start=25

I consider it a bug, as with this configuration, Kodi will not restart if it crashes for other reasons.