lehmanhill wrote: > Thanks atrocity. I will give that a try. I have been looking closely > at the Pi/Max2Play. It looks like it is popular and well supported, so > it might be good for me. > > Thanks again. > > Jac
I have made a guide how to make a Squeezebox server/player from a Wandboard Quad using Debian Jessie and is created with help of this forum and lots of other articels on the net Get the debian image from Wanboard.org wandboard.org/images/downloads/debian-8-xfce-wandboard-20150514.zip and burn it onto a micro SD with the use of Win32 Disk Imager When the sd card is created put it in your wandboard and power it up and make a ssh connection to it, login with debian/temppwd, to start UI use startx First switch to root and update upgrade the system: su root apt-get update apt-get upgrade apt-get install software-properties-common Now lets create a user with is own home directory and sudo rights ( with foo as example name): sudo useradd -m -g sudo -s /bin/bash foo sudo passwd foo sed -i 's/^#\s*\(%wheel\s*ALL=(ALL)\s*ALL\)/\1/' /etc/sudoers su foo For LMS, get the latest 7.9 nightly from the command line and install as follows: First look at http://downloads.slimdevices.com/nightly/index.php?ver=7.9 for the latest debian arm nightly and right mouseclick on the debian arm file to copy that link and past it in following: sudo wget "paste link here" Control which name the downloaded package has: ls And copy paste the name of the LMS package in following code: sudo dpkg -i name of dowloaded package After installation control LMS by following code: sudo systemctl enable|status|start|stop|restart logitechmediaserver.service Install Squeezelite: sudo apt-get install squeezelite See wich sounddevice is connected: squeezelite -l And configure it within: sudo nano /etc/default/squeezelite And restart it with: sudo systemctl restart squeezelite Now lets get jivelite and dependencies and make it start at boot: sudo apt-get install libluajit-5.1-dev libsdl1.2-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libexpat1-dev git make build-essential cd git clone http://luajit.org/git/luajit-2.0.git cd luajit-2.0 make sudo make install sudo ldconfig Now lets get jivelite cd git clone https://github.com/ralph-irving/jivelite.git cd jivelite sudo make PREFIX=/usr ./bin/jivelite Following will get jivelite to start at boot. First we install Xorg and LXDE-Core sudo apt-get install xorg lxde-core After that we must make the system auto login, we do this by editing the file at /etc/systemd/system/getty.target.wants/[email protected] sudo nano /etc/systemd/system/getty.target.wants/[email protected] And change the "ExecStart=" line in the "[Service]" section to this (with foo sa example name): ExecStart=-/sbin/agetty -a foo %I $TERM For automatic `startx` edit .profile in your home directory: cd sudo nano .profile And add this snippet to the end of the file: [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx Now set the correct default.target to ensure the system boots to the console (TTY) rather than to a display manager: sudo systemctl set-default multi-user.target To reverse this change, reset the default.target with (leave this for now otherwise jivelite will fail to start): sudo systemctl set-default graphical.target Now finally autostart JiveLite by editing the following file: sudo nano /usr/bin/startlxde Scroll to the bottom of the it and youll see the last line says this: exec /usr/bin/lxsession -s LXDE-pi -e LXDE Change it to this by putting a # sign in front of that line #exec /usr/bin/lxsession -s LXDE-pi -e LXDE Add another line below it that says this (with foo as example name): exec /home/foo/jivelite/bin/jivelite Ctl + X then Y to save and then reboot. Your Wandboard should now reboot into Jivelite. ------------------------------------------------------------------------ HB64's Profile: http://forums.slimdevices.com/member.php?userid=14945 View this thread: http://forums.slimdevices.com/showthread.php?t=105587
_______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
