1

Following setup:

  • One RaspberryPi 3 which opens a wifi AP
  • One Pi Zero W which connects directly to the hosted AP

Both run stretch, ssh is enabled.

This works so far, the pi zero connects to the pi3.

Now I want the pi zero to show pictures, which are stored on the Pi 3. I thought of using the feh viewer.

If I copy the pictures to the pi zero I can use feh like this:

usr/bin/feh -q -p -Z -F -R 10 -Y -D 10 /home/pi/Pictures

How is it possible to read the pictures directly from the Pi3 and show them. Like:

usr/bin/feh -q -p -Z -F -R 10 -Y -D 10 "Folder on the Pi3"

I have read of using samba to share a folder. But I can't believe there isn't a more easy and lightweight way. Any suggestions?

It worked with the suggested way using ssh -X pi@ipadressofPI3 and then feh /home/pi/TEST.jpg Thank you!

sporc
  • 161
  • 1
  • 9

2 Answers2

2

The default way on linux to share directories over the network is to use the Network File System nfs. Support for this is integrated in the kernel so it should not be too difficult to set up. Because Raspbian is a flavor of Debian you can use NFS Server Setup from that.

Ingo
  • 42,961
  • 20
  • 87
  • 207
1

If feh is compiled with libcurl support (see version section of man feh) you can open HTTP URLs. So you can have a simple web server on your rpi3 providing the pictures in your network.

Benjamin
  • 131
  • 2