Linux Error trying to run Kodi 14 on Arch
#1
Hey,

Raspberry Pi 2B - Class 10 sandisk Micro SDcard running from mains power and a powered USB hub.

Base OS Arch Arm 3.18.9-2-ARCH running LXDE
XServer 1.17.1

So Kodi installed perfectly fine just by running pacman -S kodi, but when I try and run it I receive the error "Kodi cannot run unless the screen color depth is atleast 24 bit. Please Reconfigure"

when trying to run from putty I get the error

[graeme@alarmpi ~]$ kodi
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
xdpyinfo: unable to open display "".
Traceback (most recent call last):
File "/usr/share/kodi/FEH.py", line 174, in <module>
if (1 == 1 and badColorDepth()):
File "/usr/share/kodi/FEH.py", line 153, in badColorDepth
return bitDepth
UnboundLocalError: local variable 'bitDepth' referenced before assignment
[graeme@alarmpi ~]$

If anyone could help that would be great! Smile

chuckie*987
Reply
#2
From: https://wiki.archlinux.org/index.php/Kodi#Raspberry_Pi
Quote: Install the kodi-rbp package instead of kodi from the Arch Linux ARM repository.
Reply
#3
Amazing! Thanks very much

Apologies it was such a simple solution....
Reply

Logout Mark Read Team Forum Stats Members Help
Error trying to run Kodi 14 on Arch0