2014-05-18, 17:54
I don't use xbmcbuntu. I use ubuntu which autostarts xbmc as standalone.. I have my /etc/init/xbmc script wait for a network interface that is not localhost to be up before starting.. like this
where the start on line in the crucial one. I assume you can do the same on your startup either it is xbmc standalone or if it is a full X logon manager.
Code:
# xbmc-upstart
# starts XBMC on startup by using xinit.
# by default runs as xbmc, to change edit below.
env USER=xbmc
description "XBMC-barebones-upstart-script"
author "Matt Filetto"
start on (filesystem and stopped udevtrigger and net-device-up IFACE!=lo)
stop on runlevel [016]
# tell upstart to respawn the process if abnormal exit
respawn
respawn limit 10 5
limit nice 21 21
script
exec su -c "xinit /home/xbmc/startxbmc.sh :0" $USER
# the following two are to get an idea, if you want to user a window manager
# exec su -c "xinit /usr/bin/fluxbox :0" $USER
end script
where the start on line in the crucial one. I assume you can do the same on your startup either it is xbmc standalone or if it is a full X logon manager.