Restart XBMC Live from SSH (Bash Shell)

As an update for XBMCbuntu, you can run the following command to start/stop XBMC:

sudo service lightdm [start|stop|restart]

Original Post:

I always forget the command for restarting XBMC Live from the shell, so I figured I would post it to my blog. It’s a really simple, one-line command:

sudo /etc/init.d/xbmc-live restart

Then enter the password for the root account (typically ‘xbmc’).

Just to be clear, the benefit of running this command instead of a full reboot (sudo reboot) is the above command only restarts the XBMC Live application. This means if you have any other services or apps running (like SABnzbd+), you can keep those apps running.

The only reason I’ve ever really needed the xbmc-live restart command is when something gets locked up on XBMC… and that usually only happens when I’m trying out new skins or plugins.

I should also note that on occasion this command will not restart XBMC live. The alternative is to stop, then start XBMC again using the following commands:

sudo /etc/init.d/xbmc-live stop
sudo /etc/init.d/xbmc-live start 





4 responses to “Restart XBMC Live from SSH (Bash Shell)”

  1. Martin van Dijken Avatar
    Martin van Dijken

    Thanks for posting that online, it was bugging me too 🙂



  2. magzcheg Avatar

    and another two ways to do it is:

    # service xbmc-live restart
    # /etc/init.d/xbmc-live restart

    #- means that command should be execute from root shell

  3. digitalb0y Avatar

    On Eden:

    killall -9 xbmc.bin

  4. efex Avatar

    while my xbmc hangs, neither said dir nor the service are present, what am i doing wrong

Leave a Reply

Your email address will not be published. Required fields are marked *