Update to Eden Beta 2 failed - XBMC does not autostart

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
rorylawson Offline
Junior Member
Posts: 4
Joined: Dec 2011
Reputation: 0
Post: #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?
find quote
Wozza_au Offline
Senior Member
Posts: 144
Joined: Jan 2011
Reputation: 1
Location: South Australia
Post: #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
(This post was last modified: 2012-08-13 00:23 by Wozza_au.)
find quote
peebs Offline
Junior Member
Posts: 39
Joined: Mar 2011
Reputation: 0
Post: #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
find quote
rorylawson Offline
Junior Member
Posts: 4
Joined: Dec 2011
Reputation: 0
Post: #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
find quote
smithr99 Offline
Senior Member
Posts: 161
Joined: Jan 2010
Reputation: 0
Post: #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: watched-fanart.jpg]
find quote
caramel Offline
Junior Member
Posts: 4
Joined: Oct 2010
Reputation: 0
Post: #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... :-)
find quote