Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 599  / 3 Years ago, mon, august 30, 2021, 4:23:31

I am using XBMC as the primary media player in my home, and it is great. The one problem I have is that it sometimes -- not often, but sometimes -- crashes or freezes up. For me, that is no problem, but for the rest of the family I need a solution where they can restart XBMC from their own Macs short of restarting the NAS on which the XBMC is located the 'hard' way, ie with the power cord (that they can).



My current idea is a copy-and-paste checklist for them for ssh-ing into the machine from Mac terminal. But I am not knowledgeable enough to know how to start XBMC on the right display. When I just start (or kill and start) the process from ssh, it seems to me that it tries to direct it to the (non-existent), and just complains when that does not work. So how do I tell it to start the program on the right (ie TV) display?



Of course, if there is a better suggestion than my ssh idea out there, that is welcome as well. The overarching aim is that my computer illiterate family may all restart XBMC without having to deal with the Linux GUI directly, since that is all Greek to them (and they are Swedes like me).


More From » ssh

 Answers
2

I run XBMC from lightdm, if XMBC crashes, it automatically restarts.



I followed the instructions from http://wiki.xbmc.org/index.php?title=Archive:HOW-TO:Install_XBMC_on_Ubuntu/with_AMD_GPU#Step_5a_.28optional.29:_Set_XBMC_to_start_automatically_.28works_on_lightdm_on_Ubuntu.2C_not_tested_on_Lubuntu_or_Xubuntu.29



sudo apt-get install lightdm lightdm-gtk-greeter
sudo adduser xbmc video
sudo adduser xbmc audio


Auto start XBMC



edit /etc/lightdm/lightdm.conf



[SeatDefaults]
autologin-user=xbmc
autologin-user-timeout=0
user-session=XBMC
greeter-session=lightdm-gtk-greeter


edit /usr/share/xsessions/XBMC.desktop




[Desktop Entry] Name=XBMC Comment=This session will start XBMC Media
Center Exec=xbmc-standalone TryExec=xbmc-standalone Type=Application



[#23264] Tuesday, August 31, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
intssive

Total Points: 493
Total Questions: 119
Total Answers: 101

Location: Liberia
Member since Mon, Feb 1, 2021
3 Years ago
intssive questions
Tue, Mar 21, 23, 08:19, 1 Year ago
Wed, Aug 31, 22, 04:04, 2 Years ago
Sat, Sep 25, 21, 15:09, 3 Years ago
Fri, Dec 31, 21, 09:13, 2 Years ago
;