I have a small Shuttle Barbebone computer which I’m mainly using as a KVM hypervisor on top of Ubuntu Server 14.04 to run a few VMs. Since the Barebone also sports a HDMI port and the CPU comes with an integrated Intel HD GPU I thought it would be a great Kodi (ex XBMC) mediacenter as well. However, I’ve been unable to find a working walk-through on how to install it on Ubuntu Server. Most likely because nobody ever does this on a server OS. Anyway, here’s how to install the latest Kodi release on Ubuntu Server 14.04 including hardware acceleration for the Intel HD GPU.
apt-get install python-software-properties pkg-config software-properties-common add-apt-repository ppa:team-xbmc/unstable apt-get update apt-get install kodi xinit xserver-xorg-video-intel adduser --disabled-password --disabled-login --gecos "" kodi
You could also use
ppa:team-xbmc/xbmc-nightly for bleeding edge releases.
usermod -a -G audio kodi usermod -a -G video kodi usermod -a -G input kodi usermod -a -G dialout kodi usermod -a -G plugdev kodi usermod -a -G tty kodi
/etc/X11/Xwrapper.config and replace
/etc/init/kodi.conf with following contents:
# kodi-upstart # starts Kodi on startup by using xinit. # by default runs as kodi, to change edit below. env USER=kodi description "Kodi-barebones-upstart-script" author "Matt Filetto" start on (filesystem and stopped udevtrigger) stop on runlevel  # tell upstart to respawn the process if abnormal exit respawn script exec su -c "xinit /usr/bin/kodi --standalone -- -nocursor :0" $USER end script
(Upstart script from http://kodi.wiki/view/HOW-TO:Autostart_XBMC_for_Linux)
Now you should be ready to start Kodi using
service kodi start
If you’re having any problems to start Kodi, have a look at the log files in