So you think you have captured a few good pictures with Pi Cam using the simple command raspistill -o image.jpg and now you want to view it quickly? So you think you can use all the available command prompt picture viewers like fbi, fim, w3m work well? Well, none of them will work without additional code-tweaking, hair-pulling, keyboard-bashing trials and errors.
Try this stress-free viewer:
SSH -X into your pi: ssh -X pi@yourpiname.local
sudo apt-get update
sudo apt-get install feh
You must enable x11 forwarding. SSH into to your remote computerm then do the following:
sudo nano /etc/ssh/ssh_config
Uncomment the following line by deleting the # symbol:
#X11Forwarding No
Or in newer version:
# ForwardX11 no
Change No to Yes
To view all images stored in your user home directory in default slide-show mode:
feh ~/*.*
We like SIMPLE! Don’t you? Another decent alternative is eog
If you like complex: http://man.finalrewind.org/1/feh/
2 thoughts on “View image on your Pi remotely over SSH”
Comments are closed.
I receive this error:
feh ERROR: Can’t open X display. It *is* running, yeah?
Have you enabled -x at all?
SSH into to your remote computerm then do the following:
sudo nano /etc/ssh/ssh_config
Uncomment the following line
#X11Forwarding No
change it from No to Yes