XBMC Community Forum
Update to Eden Beta 2 failed - XBMC does not autostart - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: Update to Eden Beta 2 failed - XBMC does not autostart (/showthread.php?tid=120863)



Update to Eden Beta 2 failed - XBMC does not autostart - rorylawson - 2012-01-24 10:59

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?


RE: Update to Eden Beta 2 failed - XBMC does not autostart - Wozza_au - 2012-01-24 11:07

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


- peebs - 2012-01-25 00:27

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


- rorylawson - 2012-01-26 12:09

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


RE: - smithr99 - 2012-03-29 13:01

(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?


RE: Update to Eden Beta 2 failed - XBMC does not autostart - caramel - 2012-03-30 20:06

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... :-)