More > JRiver Media Center 23 for Linux

Quick Start Guide for Installing JRiver Mediacenter 23 ARM on a Raspberry Pi

<< < (3/15) > >>

mwillems:

--- Quote from: akira54 on September 10, 2017, 05:12:36 am ---Thank you. Could you explain why this method of starting a x11vnc service is preferred over the built-in one which just enables VNC in the RPi's settings (together with ssh)?

--- End quote ---

1) The "built in" VNC method is a relatively new addition to the raspbian image, so I haven't personally tested it (i.e. there was not a usable option for that the last time I set up my own pi systems).
2) Not all VNC servers are equivalent.  Several linux vnc servers (tightvncserver and others) no longer work with MC at all due to changes in MC in the MC22 cycle.  X11vnc is used because it is known to work; I don't know what VNC server the pi uses for its built in option.  It may or may not work.  If you test it and it works as expected, do report back and I'll add a note.

akira54:
In the Raspberry configuration file I enable VNC and on my Macs I run VNC Viewer. I do this on both a Raspberry 3 and a Raspberry 1+ on which I run Pi-hole. In both cases it is very stable. What isn't so stable is MC which crashes regularly after using JRemote.

mwillems:

--- Quote from: akira54 on September 10, 2017, 01:25:58 pm ---In the Raspberry configuration file I enable VNC and on my Macs I run VNC Viewer. I do this on both a Raspberry 3 and a Raspberry 1+ on which I run Pi-hole. In both cases it is very stable. What isn't so stable is MC which crashes regularly after using JRemote.

--- End quote ---

I was more concerned about stability with MC, not stability in general.  It sounds like you're having instability with MC which may or may not be related to the VNC solution.  With at least one VNC server, MC was just constantly crashing after the changes in MC22, so you might want to try x11vnc just to rule out the VNC server as a source of instability.

akira54:
I wrote some notes to myself to remind me how to set up MC23 on a headless Raspberry using MWillems's excellent guide. I added some other details I found to be useful and the necessary information to make it work with a Synology NAS. I hope they might be of some use to others as well.

Headless Raspberry SETUP MC23 on Mac

Use Etcher (https://etcher.io/) to “burn” Raspberry Stretch image (https://www.raspberrypi.org/downloads/raspbian/) to SD card (I use 8 rather than 16 Gb since it keeps the backups smaller)

Add “ssh” file (may be empty; no extension) to root dir of BOOT SD on Mac (this forces raspberry to enable ssh)

After boot ssh into Raspberry from Mac terminal: ssh pi@192.168.X.XX
   [If necessary delete the key that is preventing access with: ssh-keygen -R 192.168.X.XX]

Run from Terminal in Raspberry: sudo raspi-config and go to “Interfacing options” and enable VNC

Edit fstab to gain access to NAS (Synology in my case) music folder:

sudo nano /etc/fstab
add the following line at the end:
192.168.X.XX:/volume1/music /home/pi/Music nfs defaults,noatime,x-systemd.automount.nolock 0 0

To install MC23 follow: https://yabb.jriver.com/interact/index.php/topic,111505.0.html Use MWillems’s  New Method to set up headless [I have disabled the x11vnc.service setup part because the built in VNC options with VNC Viewer on the Mac/Windows offers more security and flexibility. If you did set up x11vnc.service, as I did, and want to disable it, run in a Terminal window (without quotation marks) “sudo systemctl disable x11vnc.service” This will remove the symbolic link that indicated that the service should be started automatically]

Remember also to:
— setup the audio properly in MC using Options > Audio
— pre-build missing thumbnails in Tree & View > Thumbnails (otherwise JRemote might crash)
— set Thumbnails creation to Low in Tree & View > Thumbnails
— set MC to backup to external USB stick (Options > File locations) because if you leazve it set to the default it will back up to sd card and if that card becomes unreadable (as happened to me) your MC backup is gone too.
— install the licence
— set MC to audio only (View > Audio only) if you prefer a slightly less cluttered view

franswilco:
Is this solution bit pefect?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version