I do not want the GUI login/Mate desktop, so I disabled it at startup. I use 'xinit /usr/local/bin/kodi' to start Kodi. This works fine if I run it as root. However, as odroid user, I was getting error about not able to access /dev/tty0 ; interwebs told me to install http://unix.stackexchange.com/questions/153870/how-can-i-configure-anybody-to-run-x-in-a-one-liner xserver-xorg-legacy and configure Xwrapper.config to allow everyone to run X. Now while X doesn't complain, Kodi keeps crashing at starup with the following message in the crash log
- Code: Select all
01:21:30 T:2997007104 NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 300 ms
01:21:30 T:2997014528 NOTICE: Running database version Addons20
01:21:30 T:2997014528 NOTICE: ADDONS: Using repository repository.xbmc.org
01:21:30 T:2997014528 NOTICE: Checking resolution 16
01:21:30 T:2997014528 ERROR: failed to initialize egl display
Elsewhere on this forum, there is a mention to uncomment m_bpp to be set to 32 in boot.ini, but the X boot.ini doesn't have any of those lines, and furtheremore if I run as root, I do not have the issue with Kodi crashing, so I am guessing this is a permission issue. Any suggestions on how to get it working?
In Kodi, the Peripherals menu is disabled, so I am unable to get cec working. I installed libcec3 but still no luck. I am using ubuntu-16.04-mate-odroid-x-20160920.img.xz image.