2014-12-23, 23:01
Hi everyone, i tried to follow this method :
apt-get install (cannot install python-software-properties, it is inside software... so no need for it) 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 kodi --disabled-password --disabled-login
usermod -a -G audio kodi
usermod -a -G video kodi
usermod -a -G input kodi (usermod: group 'input' does not exist )
usermod -a -G dialout kodi
usermod -a -G plugdev kodi
usermod -a -G tty kodi
Edit /etc/X11/Xwrapper.config and replace allowed_users=console with allowed_users=anybody
Create a /etc/init/kodi.conf :
# 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 [016]
# tell upstart to respawn the process if abnormal exit
respawn
script
exec su -c "xinit /usr/bin/kodi --standalone -- -nocursor :0" $USER
end script
So basically except for the input group the only issue so far i ran into is that the service is not recognize and if i try to run it with xinit by hand i got this :
http://pastebin.com/210YLDhA
The goal here is to be able to fully install this on 14.04 ubuntu server so i can create a container docker who run kodi, will be great since once i will finish it, people will just have to pull the container and run it !
Any help would be welcome, thanks
edit : i switched to kodi because it seems that in order to run xbmc on a server you need to setup an sql database hum...
apt-get install (cannot install python-software-properties, it is inside software... so no need for it) 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 kodi --disabled-password --disabled-login
usermod -a -G audio kodi
usermod -a -G video kodi
usermod -a -G input kodi (usermod: group 'input' does not exist )
usermod -a -G dialout kodi
usermod -a -G plugdev kodi
usermod -a -G tty kodi
Edit /etc/X11/Xwrapper.config and replace allowed_users=console with allowed_users=anybody
Create a /etc/init/kodi.conf :
# 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 [016]
# tell upstart to respawn the process if abnormal exit
respawn
script
exec su -c "xinit /usr/bin/kodi --standalone -- -nocursor :0" $USER
end script
So basically except for the input group the only issue so far i ran into is that the service is not recognize and if i try to run it with xinit by hand i got this :
http://pastebin.com/210YLDhA
The goal here is to be able to fully install this on 14.04 ubuntu server so i can create a container docker who run kodi, will be great since once i will finish it, people will just have to pull the container and run it !
Any help would be welcome, thanks
edit : i switched to kodi because it seems that in order to run xbmc on a server you need to setup an sql database hum...