After starting Kodi from the jivelite menu, exiting Kodi closes the application but I am left viewing a virtual terminal screen prompt.
Cause:
/opt/max2play/start_xbmc.sh is performing a „sudo chvt 8“ on line 34 just before calling the /usr/bin/kodi-rpi4 script.
The „sudo chvt 8“ is causing a problem because when kodi-rpi4 executes, it saves the foreground console vt (which has been changed already) and then performs it’s own „sudo chvt 8“.
After Kodi exits, the script does another /bin/chvt to restore the saved foreground console vt – unfortunately, it’s the wrong saved vt.
line 34 in /opt/max2play/start_xbmc.sh should be removed or commented out:
i.e.
# sudo chvt 8
Once removed or commented out, jivelite will display properly after Kodi exits.
Thank You grimmt for a solution!
I also support M2P and was disappointed to find this basic feature broken in Pi 4
I gave up on M2P and stopped spreading the word about the greatness of M2P because I was embarrassed.
I moved over to a different OS but I have returned because of YOU!
I also raised this issue APRIL 1 2020 AT 6:20 #48370.
In forum [Announce] New Max2Play Image for Raspberry Pi 4.