bisher verwende ich für meinen HTPC ein Ubuntu-Server basiertes System. Vielleicht kennt jemand die Anleitung aus dem offiziellen Kodi-Forum
http://forum.kodi.tv/showthread.php?tid=231955
Das funktioniert wirklich sehr gut allerdings möchte ich das Ganze gerne auf einem nackten Debian Jessie laufen lassen. (Installation ohne Grafische Oberfläche)
Nun habe ich bereits herausgefunden dass die Installation von KODI selber wohl relativ leicht realisierbar ist.
Code: Alles auswählen
2.1 Debian
The installation if you are using Debian (Jessie), you can use the debian-backports repository.
Add the following lines to your /etc/apt/sources.list file, as superuser (sudo)
# kodi repos
# starting with debian jessie, debian provides kodi via its backports repository
# remember: those packages are not supported by team kodi
deb http://http.debian.net/debian jessie-backports main
Unter Ubuntu wird das wohl über Systemd gemacht. Hier mal der Auszug:
Code: Alles auswählen
We need a simple systemd service file (this one actively waits on network connection, see: network-online.target remove that if you don't need to wait)
Create the following file and put the listing into it: /etc/systemd/system/kodi.service
[Unit]
Description = kodi-standalone using xinit
After = systemd-user-sessions.service network.target sound.target network-online.target
[Service]
User = kodi
Group = kodi
Type = simple
PAMName=login
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/openbox-session -- :0 -nolisten tcp vt7
Restart = on-abort
[Install]
WantedBy = multi-user.target
Code: Alles auswählen
As we use openbox as our display manager, we need to auto start kodi, therefore create:
sudo mkdir -p /home/kodi/.config/openbox
sudo touch /home/kodi/.config/openbox/autostart
sudo chown kodi:kodi /home/kodi/.config -R
now we write the following into the created /home/kodi/.config/openbox/autostart file, this will automatically switch your TV to full range (please copy the lines, don't try to type the '` and so on, this code only works for one (1) connected TV, if you have multiple devices extend it to a loop):
OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'`
xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Full"
/usr/bin/kodi --standalone
openbox --exit
Code: Alles auswählen
Now, we can start kodi:
sudo systemctl start kodi
Wenn jemand sowas schon mal versucht hat wäre ich sehr dankbar über eine kurze Einschätzung.
Viele Grüße
S