Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XBMC server mode in unraid

Featured Replies

i then did:

sudo service xbmc-server start

 

but 'service' is also not available for slackware.

 

Errr ... it's not the 'service' command which is unavailable, it's the 'sudo'.  Just remove 'sudo ' from all those commands and try again.

  • Replies 80
  • Views 22.8k
  • Created
  • Last Reply
  • Author

i then did:

sudo service xbmc-server start

 

but 'service' is also not available for slackware.

 

Errr ... it's not the 'service' command which is unavailable, it's the 'sudo'.  Just remove 'sudo ' from all those commands and try again.

 

no it's service and stop-start-daemon. i didn't do sudo because i was already root. that was just copied from the guide and i forgot to edit it. i adapted everything for my situation. i just don't know how to get around using start-stop-daemon.

 

i then did:

sudo service xbmc-server start

 

but 'service' is also not available for slackware.

 

Errr ... it's not the 'service' command which is unavailable, it's the 'sudo'.  Just remove 'sudo ' from all those commands and try again.

 

no it's service and stop-start-daemon. i didn't do sudo because i was already root. that was just copied from the guide and i forgot to edit it. i adapted everything for my situation. i just don't know how to get around using start-stop-daemon.

 

Look at the code for one of influencer's plugins and you may be able to figure out how to adapt it to your use because the plugin creates an init script for each plugin.

  • Author

yea, i looked at one of influencers plugins but i found the answer elsewhere. and the reason it didnt start was minor. 'guisettings.xml' didnt exist. so i got it up and running on slackware 13.37. i didnt realize the version that git cloned was an alpha of gotham though. and i found a few more things i can disable to make it less resource intensive. so i am going to recompile and then i will try and figure out how to make a pkg for slackware and install it on an unraid system to test. then make a plugin. i think it is coming along nicely.

yea, i looked at one of influencers plugins but i found the answer elsewhere. and the reason it didnt start was minor. 'guisettings.xml' didnt exist. so i got it up and running on slackware 13.37. i didnt realize the version that git cloned was an alpha of gotham though. and i found a few more things i can disable to make it less resource intensive. so i am going to recompile and then i will try and figure out how to make a pkg for slackware and install it on an unraid system to test. then make a plugin. i think it is coming along nicely.

 

Yeah, don't want to use that alpha. If the library format is updated your clients running the stable release won't be able to read the library.

  • Author

ok, so ive got it built. i just need to figure out how to put it in a pkg, test it, and then write a plugin for it.

I wish I could help.  I'm looking forward to the finished product.

 

Which version of xbmc did you use ?

  • Author

i used the current stable one, frodo 12.2

Cool.  I hope it gets turned into a plugin.  Command lines scare me

Does one just need the xbmcSaLUd-0.0.1-i486-1.tgz package?

 

EDIT:

root@Tower:/boot/packages# installpkg xbmcSaLUd-0.0.1-i486-1.tgz
Verifying package xbmcSaLUd-0.0.1-i486-1.tgz.
Installing package xbmcSaLUd-0.0.1-i486-1.tgz:
PACKAGE DESCRIPTION:
# xbmcSaLUd (XBMC Standalone Library Updater)
#
# Stripped down version of XBMC used to manage library updates. A number of
# features have been disabled or removed in order to reduce memory
# footprint. This is experimental and there may be, and probably are, many
# bugs. The purpose of this is to have a lightweight XBMC instance solely
# to manage library updates that can easily be ran alongside programs such
# as Sickbeard or CouchPotato.
#
Package xbmcSaLUd-0.0.1-i486-1.tgz installed.

root@Tower:/boot/packages#

 

Appears to have installed just fine. Now to set it up.

  • Author

no. it has some dependencies as well. quite a few actually.

 

https://github.com/bobbintb/Slackware-13.37-libs/raw/master/libmicrohttpd-0.9.13-i486-1_SBo.tgz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/l/sdl-1.2.14-i486-5.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/l/jasper-1.900.1-i486-3.txz

http://repository.slacky.eu/slackware-13.37/libraries/tinyxml/2.6.2/tinyxml-2.6.2-i486-1sl.txz

http://www.slackers.it/repository/yajl/pkg/yajl-2.0.4-i686-1cf.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/n/bluez-4.91-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/patches/packages/mysql-5.1.67-i486-1_slack13.37.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/l/lzo-2.03-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/patches/packages/libtiff-3.9.6-i486-1_slack13.37.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/l/libjpeg-v8a-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/testing/packages/mesa-7.10.2-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/glew-1.5.7-i486-1.txz

http://slackpack.ludost.net/packages/13.37/fribidi-0.19.2-i486-1gds.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/patches/packages/libpng-1.4.12-i486-1_slack13.37.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/l/libcdio-0.79-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/l/libsamplerate-0.1.7-i486-2.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/patches/packages/freetype-2.4.11-i486-1_slack13.37.txz

https://github.com/bobbintb/Slackware-13.37-libs/raw/master/taglib-1.8-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/l/alsa-lib-1.0.24.1-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/l/hal-0.5.14-i486-3.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libX11-1.4.3-i486-2.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libXext-1.2.0-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/n/gnutls-2.10.5-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libXrandr-1.3.1-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libXrender-0.9.6-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libxcb-1.7-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libXau-1.0.6-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libXdmcp-1.1.0-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/l/svgalib-1.9.25-i486-2.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libXmu-1.1.0-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libXi-1.4.2-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libXdamage-1.1.3-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libXfixes-5.0-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libXxf86vm-1.1.1-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libdrm-2.4.23-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libXt-1.1.1-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libSM-1.2.0-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/x/libICE-1.0.7-i486-1.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/d/gcc-g++-4.5.2-i486-2.txz

http://slackware.cs.utah.edu/pub/slackware/slackware-13.37/slackware/l/glibc-2.13-i486-4.txz

 

that should save you a lot of trial and error. thanks for reminded me as i forgot to include these.

So one needs to grab and install each of these packages?

  • Author

So one needs to grab and install each of these packages?

 

Until the plugin is done, yes.

You can put them all in a folder and install them at once like this:

 

installpkg /nameofdirectory/*.*

  • Author

anyone care to test this out for me? it doesnt seem to work on the 2 machines ive been testing it on but others say it's working fine.

 

https://mega.co.nz/#!r4QChJjJ!UkDzKxI0anvAz94WhjRqIyctWFJI5-F6lgiVpdggz14

 

now, this is an alpha release plugin and it doesnt work entirely yet. it should install everything just fine but, among other things, i cant get it to start. i am trying to tweak the init script. ive tried various commands and while they work in the console, for some reason they dont in the script.

 

so if anyone wants to help me test it, let me know if it starts ok and if the process actually exists in the list of processes in the utilities page in the webui. after today i wont have any time to do anything until monday but you can send me a pm.

 

also, make sure you have mysql installed.

... i cant get it to start. i am trying to tweak the init script. ive tried various commands and while they work in the console, for some reason they dont in the script.

 

Does it sound like this problem?

Grabbing it now. I'll report back shortly. How should I handle the advancedsetting.xml file? That should be placed in the proper XBMC folder before the XBMC process is started.

 

EDIT:

I got this at the end of the install:

 file /boot/packages/xbmcSaLUd-0.0.1-i486-1.tgz: downloading from --no-check-cer
tificate https://dl.dropboxusercontent.com/u/5102805/xbmcSaLUd-0.0.1-i486-1.tgz
... WARNING: cannot verify dl.dropboxusercontent.com's certificate, issued by `/
C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance CA-3':
  Unable to locally verify the issuer's authority.
Cannot write to `/boot/packages/xbmcSaLUd-0.0.1-i486-1.tgz' (Success).
bad download, deleting

 

Ah it appears this may be happening because I have run out of space on my flash drive :(

I cleaned up some space on the flash drive and got everything downloaded and installed. I see the XBMC logo in the settings screen under Media Services. I can view the XBMC addon settings and change them, but I can not start it. I am digging for the logs now.

  • Author

... i cant get it to start. i am trying to tweak the init script. ive tried various commands and while they work in the console, for some reason they dont in the script.

 

Does it sound like this problem?

 

a little. i did at times when fiddling find the redraw unresponsive and the sudo helped it. i removed it earlier and never put it back. but the core issue still remains. the frustrating part it i have gotten it to work once or twice but it isnt repeatable.

I never got XBMC server to run. I did notice a lot of kernel segfaults every time I tried to run it. Just to make sure it was that .plg causing it, I removed it and restarted my server. I have not seen any segfaults with it removed. If you need a log with those issues, let me know and I'll be happy to run it again and capture the syslog.

Though I know you might be aware, Plex is actually designed for this.  It is derived from XBMC source and runs in a separate client/server model.  I used XBMC for years but when I added more clients (now up to 3 Roku, 4 iPhone, 2 iPad, a MacBook Pro Retina and a few Chromebooks through PlexWeb), the Plex setup was much simpler to administer. 

 

Plex Media Server runs as a plugin on unRAID and works exceptionally well.  I'm still a huge fan of XBMC, but it does not meet my needs as well.  If you are running a single client or want separate HTPCs at each TV with separate libraries, XBMC may still be a better fit.

 

Plex does have some disadvantages:  no smart playlists, lack of PseudoTV functionality.  But the advantages, for me, were too many to pass up:

  • automated sync to iPhones/iPads
  • centralized library management
  • transcoding of files on the fly for different client types
  • Excellent Roku support

 

And I am in no way associated with Plex.  I just hate to see someone get frustrated trying to get XBMC to do something which is more easily accomplished with something else.

  • Author

yes, im aware of plex but i prefer xbmc.

 

here is another test of the plugin.

 

https://mega.co.nz/#!BBsTRLKB!e_VxjH7hzGjdqutQvr_-1l526eUOqZE7v_y4LP1DdJ8

 

it should start and stop properly now. thanks to Influencer for his help and getting it to work properly. once i get it stable enough i will be making a proper thread for it. i will be working on the settings files next. for now they need to be manually created.

 

EDIT: just did some initial testing. after adjusting some settings, i set sickbeard to send an update command and xbmc successfully executed the command. the hardest parts should be over. now i just have to tidy things up.

I assume the port option is the port for the XBMC webserver? What are you using for the username and password? I tried the defaults of xbmc and blank, but I am not getting a response when testing with Sickbead.

 

EDIT:

Got it squared away. I was originally running xbmc in a folder called ".xbmc". I switched to just "xbmc" and set the folder to cache only. I then edited the guisettings.xml file by hand and then Sickbeard successfully sent a test notification.

 

EDIT2:

Dang. Spoke too soon. It worked for a moment but then it quit. The connection seems to come and go. I am still seeing segfaults in the log:

 

May 21 14:07:10 Tower sudo:     root : TTY=unknown ; PWD=/mnt/cache/xbmc ; USER=root ; COMMAND=/mnt/cache/xbmc/xbmc-server --no-test --nolirc -p
May 21 14:08:00 Tower kernel: xbmc-server[11505]: segfault at b1700ffc ip b64e8373 sp b1701000 error 6 in libc-2.13.so[b647b000+15c000]
May 21 14:08:01 Tower crond[1092]: exit status 1 from user root /usr/lib/sa/sa1 2 1 & >/dev/null 
May 21 14:08:01 Tower kernel: crond[11581]: segfault at b77ea51c ip b77ea51c sp bf88af34 error 15 in ld-2.11.1.so[b77ea000+1000]
May 21 14:09:01 Tower crond[1092]: exit status 1 from user root /usr/lib/sa/sa1 2 1 & >/dev/null 
May 21 14:09:01 Tower kernel: crond[11612]: segfault at b77ea51c ip b77ea51c sp bf88af34 error 15 in ld-2.11.1.so[b77ea000+1000]
May 21 14:10:01 Tower crond[1092]: exit status 1 from user root /usr/lib/sa/sa1 2 1 & >/dev/null 
May 21 14:10:01 Tower kernel: crond[11643]: segfault at b77ea51c ip b77ea51c sp bf88af34 error 15 in ld-2.11.1.so[b77ea000+1000]
May 21 14:10:53 Tower sudo:     root : TTY=unknown ; PWD=/mnt/cache/xbmc ; USER=root ; COMMAND=/mnt/cache/xbmc/xbmc-server --no-test --nolirc -p
May 21 14:11:01 Tower crond[1092]: exit status 1 from user root /usr/lib/sa/sa1 2 1 & >/dev/null 
May 21 14:11:01 Tower kernel: crond[11774]: segfault at b77ea51c ip b77ea51c sp bf88af34 error 15 in ld-2.11.1.so[b77ea000+1000]
May 21 14:12:01 Tower crond[1092]: exit status 1 from user root /usr/lib/sa/sa1 2 1 & >/dev/null 
May 21 14:12:01 Tower kernel: crond[11907]: segfault at b77ea51c ip b77ea51c sp bf88af34 error 15 in ld-2.11.1.so[b77ea000+1000]
May 21 14:12:29 Tower kernel: xbmc-server[11786]: segfault at b2f00ffc ip b6498373 sp b2f01000 error 6 in libc-2.13.so[b642b000+15c000]
May 21 14:13:01 Tower crond[1092]: exit status 1 from user root /usr/lib/sa/sa1 2 1 & >/dev/null 
May 21 14:13:01 Tower kernel: crond[12044]: segfault at b77ea51c ip b77ea51c sp bf88af34 error 15 in ld-2.11.1.so[b77ea000+1000]

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.