[Ubuntu minimal 14.04 LTS] Openbox Kodi-Autostart

Tranceport

Captain
Registriert
Dez. 2008
Beiträge
3.400
Hallo zusammen,
aktuell hadere ich als Linux-Anfänger mal wieder mit einem Linux-Projekt:
Ziel ist ein leichtes Ubuntu mit Kodi und Steam Big Picture für´s Wohnzimmer. Nach ein wenig Recherche bin ich auf diese Anleitung gestoßen und habe es direkt in einer VM ausprobiert, wo auch alles einwandfrei geklappt hat. Also habe ich anfangen, die selben Schritte auch auf dem echten Server (Dell T20, Xeon1225, 8GB DDR3, 750TI, 64GB SSD) durchzuführen.
Dort bin ich bis zum Punkt Steam gekommen, nach einem Reboot lande ich aber immer auf einem Loginscreen, anstatt in Kodi. Allerdings hilft der im Tut angesproche Fix

sudo nano /etc/default/grub
bei GRUB_CMDLINE_LINUX den Befehl 'nomodeset' entfernen
sudo update-grub

nicht, nach einem Reboot lande ich immer noch im Loginfenster. Da in der VM alles klappt, habe ich die Dateien
/etc/init/openbox.conf
/etc/init/xbmc.conf
mit denen auf dem Server verglichen, sie sind identisch:

/etc/init/openbox.conf schrieb:
start on (started dbus and started mountall)
stop on runlevel [016]
respawn
respawn limit 10 5
limit nice 21 21
script
exec su -c "xinit /usr/bin/openbox-session -- -bs -nocursor :0" xbmc
end script

/etc/init/xbmc.conf schrieb:
# xbmc standalone service

# starts XBMC on startup by using xinit.
# will try to auto respawn for 5 mins if it crashes
# launches xbmc in the "standalone mode" with no xcursor (cursor in xbmc still $
# by default runs as xbmc, to change edit below.
env USER=xbmc
env DISPLAY=:0

description "XBMC standalone service"
author "Matt Filetto"

start on (net-device-up IFACE!=lo and started openbox)
stop on (runlevel [016] or stopped openbox)
#start on (started dbus and started mountall and net-device-up IFACE!=lo)
#stop on runlevel [016]

# tell upstart to respawn the process if abnormal exit
respawn
respawn limit 10 5

# nice level
limit nice 21 21

script
exec su -c "/usr/bin/xbmc" $USER
## exec su -c "xinit /usr/bin/xbmc --standalone -- -bs -nocursor :0" $USER
end script

Jetzt bin ich aktuell etwas ratlos, natürlich könnte ich den automatischen Login des Users xbmc auch über zusätzliche Software realisieren, aber es sollte ja eigentlich auch mit den vorhandenen Mitteln funktionieren - nur leider bin ich dazu noch nicht lange genug in der Nicht-GUI-Welt unterwegs. Weiß von euch evtl. jemand Rat?
Viele Grüße & vielen Dank,
Chris
 
Zurück
Oben