Articles

Print

Restart XBMC Live from SSH (Bash Shell)

Written by Joshua Lyon on .

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 

Comments   

 
digitalb0y
0 #3 digitalb0y 2012-04-02 08:32
On Eden:

killall -9 xbmc.bin
Quote | Report to administrator
 
 
magzcheg
0 #2 magzcheg 2011-05-15 00:00
and another two ways to do it is:

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

#- means that command should be execute from root shell
Quote | Report to administrator
 
 
Martin van Dijken
0 #1 Martin van Dijken 2010-10-13 09:22
Thanks for posting that online, it was bugging me too :-)

Grtz,

Martin
Quote | Report to administrator