Frodo Beta 3 does not start on boot
#1
Hi All,

I have just upgraded to Ubuntu Precise and Frodo beta 3.

For some reason XBMC no longer starts on boot - however I can start by su - xbmc and then using xinit xbmc-standalone.

Any ideas?

Thanks in advance

JT
Reply
#2
http://forum.xbmc.org/showthread.php?tid=128861

uNi
Reply
#3
Thanks uNi

do I need to install lightdm?

By the way this is a minimal install - no desktop etc.

Thanks again

JT
Reply
#4
Ah you dont have lightdm? in that case not needed.

try this.

Create a /etc/init/xbmc.conf with contents.

Code:
# xbmc-upstart
# starts XBMC on startup using xinit and the startx command. Runs as xbmc as user
description     "XBMC-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/xbmc --standalone :0" xbmc
end script

We sym link for legacy purposes and make sure that X is allowed everyone to use it.

Code:
sudo ln -s /lib/init/upstart-job /etc/init.d/xbmc
sudo sh -c 'echo "allowed_users=anybody" >> /etc/X11/Xwrapper.config'

and if you want to kill the mouse cursor X and the pointer if you dont use a mouse.

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 modified by uNiversal"

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/xbmc --standalone -- -nocursor :0" $USER
end script
Reply
#5
Awesome!

Thank you uNi, works a treat.

JT
Reply
#6
Excellent

uNi
Reply

Logout Mark Read Team Forum Stats Members Help
Frodo Beta 3 does not start on boot0