Update to Eden Beta 2 failed - XBMC does not autostart
#1
Hi guys,

I installed XBMC Live 10.1 Dharma onto my machine and then I tried to upgrade to Eden Beta 2 11.0 using the guide at the bottom of http://xbmcmediacenter.com/nightlies/ -

Quote:INSTALL/UPDATE TO XBMC EDEN 11.0 IN XBMC LIVE AND HEADLESS XBMC LIVE BASED SYSTEMS

sudo apt-get update
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:team-xbmc/unstable
sudo apt-get update
sudo apt-get install --reinstall xbmc-live xinit x11-xserver-utils

Now when I restart my machine, I get to the login prompt and it just says there!

I can start it manually by running "xinit xbmc-standalone" from the command line as the xbmc user however I want this to be automatically done. Is there a simple way of doing this?

Why would upgrading from the stable release to the beta change the start up of XBMC? Does it matter that it is a Live version of XBMC?
Reply
#2
try this

Create a xbmc.conf file:

Code:
sudo nano /etc/init/xbmc.conf
Paste the following into the xbmc.conf file:

Code:
# xbmc-standalone
description "Autostart XBMC"

start on (filesystem and stopped udevtrigger)
stop on runlevel [06]

task
console output
emits starting-x

exec /bin/su [color=#FF0000]xbmc[/color] -c "/usr/bin/startx /etc/X11/Xsession /usr/bin/xbmc-standalone"
note the name in bold (red) needs to be the user name you used when installing xbmc....xbmc is the default
Reply
#3
Wozza_au Wrote:try this

Create a xbmc.conf file:

Code:
sudo nano /etc/init/xbmc.conf
Paste the following into the xbmc.conf file:

Code:
# xbmc-standalone
description "Autostart XBMC"

start on (filesystem and stopped udevtrigger)
stop on runlevel [06]

task
console output
emits starting-x

exec /bin/su [b][color=Red]xbmc[/color][/b] -c "/usr/bin/startx /etc/X11/Xsession /usr/bin/xbmc-standalone"
note the name in bold (red) needs to be the user name you used when installing xbmc....xbmc is the default

This worked perfectly for me, btw, so thanks. Smile
Reply
#4
Wozza_au Wrote:try this

Create a xbmc.conf file:

Code:
sudo nano /etc/init/xbmc.conf
Paste the following into the xbmc.conf file:

Code:
# xbmc-standalone
description "Autostart XBMC"

start on (filesystem and stopped udevtrigger)
stop on runlevel [06]

task
console output
emits starting-x

exec /bin/su [b][color=Red]xbmc[/color][/b] -c "/usr/bin/startx /etc/X11/Xsession /usr/bin/xbmc-standalone"
note the name in bold (red) needs to be the user name you used when installing xbmc....xbmc is the default

Wozza_au - Thank you so much...worked perfectly Smile
Reply
#5
(2012-01-25, 00:27)peebs Wrote:
Wozza_au Wrote:try this

Create a xbmc.conf file:

Code:
sudo nano /etc/init/xbmc.conf
Paste the following into the xbmc.conf file:

Code:
# xbmc-standalone
description "Autostart XBMC"

start on (filesystem and stopped udevtrigger)
stop on runlevel [06]

task
console output
emits starting-x

exec /bin/su [b][color=Red]xbmc[/color][/b] -c "/usr/bin/startx /etc/X11/Xsession /usr/bin/xbmc-standalone"
note the name in bold (red) needs to be the user name you used when installing xbmc....xbmc is the default

This worked perfectly for me, btw, so thanks. Smile

hmm, this didnt work for me. the user is defintely xmbc - does the color make any difference? what about if I just took out the color bits? do i need to +x the script at all?
ASRock 330HT, XBMC Eden

Image
Reply
#6
I think you will find that the last line there should just be

Code:
exec /bin/su xbmc -c "/usr/bin/startx /etc/X11/Xsession /usr/bin/xbmc-standalone"

the coloring/bold tags you could see would be from the transfer from the old forums... :-)
Reply

Logout Mark Read Team Forum Stats Members Help
Update to Eden Beta 2 failed - XBMC does not autostart0