2014-03-26, 08:30
here is a test init script with the network changes. just replace /etc/init/xbmc.conf with this and see if it fixes your issues with no autologin and the guy with no network
if that doesnt work change
with
I pushed the above init script with the network start on dependency to my git so anyone who runs the script from now on will be grabbing the updated version. so if you havent installed yet no need to copy and paste this one
Code:
# 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 works)
# by default runs as xbmc, to change edit below.
env USER=xbmc
description "XBMC standalone service"
author "Matt Filetto"
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 "xinit /usr/bin/xbmc --standalone -- -nocursor :0" $USER
end script
if that doesnt work change
Code:
exec su -c "xinit /usr/bin/xbmc --standalone -- -nocursor :0" $USER
with
Code:
exec su -c "sleep 3 ; xinit /usr/bin/xbmc --standalone -- -nocursor :0" $USER
I pushed the above init script with the network start on dependency to my git so anyone who runs the script from now on will be grabbing the updated version. so if you havent installed yet no need to copy and paste this one