Kodi Community Forum

Full Version: XBMCLive dist-upgrade - How to re-enable auto launch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I recently upgraded from XBMCLive to Eden by doing a dist-upgrade. Since I did this I get dropped into a terminal prompt when I start the machine instead of the XBMC front end. If I run startx XBMC Eden launches successfully.

I have tried the advice given in the following threads:
http://forum.xbmc.org/showthread.php?tid=123186
http://forum.xbmc.org/showthread.php?tid=114069
http://forum.xbmc.org/showthread.php?tid=97945

I don't want to do a fresh install as I have Sickbeard, CouchPotato, SABnzB+ and Headphones running on that same box. Any help would be appreciated!

Thanks,
Stephen
I had the same problem after upgrading from XBMCLive 10.1 to Eden. I tried
service xbmc-live start
without success.

I read about the XBMC-Autostart-Procedure. Look for
/etc/init/xbmc-live.conf
It's a script which gets executed by the Init-Process at startup. It has been exchanged by the upgrade and the new version didn't work for me.
Replace the script with the one from the 10.1-Install. If you don't have a backup, PM me, I'll send it to you.
reboot
And XBMC startet automatically as it should and did before.

Regards, Thomas
try this...

log in to your xbmc installation via putty

then

sudo nano /etc/init/xbmc.conf

then copy and paste the below in to it

# xbmc-standalone
description "Autostart XBMC"

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

task
console output
emits starting-x

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

on the bottom line replace xbmc with your username you use to log into putty.

Matt
Thank you Matt, that fixed it for me.

Just posting this in case anyone else wonders as I did whether to make a new file called xbmc.conf or paste the magic lines above into the existing xbmc-live.conf. I did the former and it works beautifully.
Np

Matt