I am running debian v10.0 on a raspberry pi. I have a directory of pictures with jpg, png and jpeg extensions. When I try to use display image.extension on any of them I get the error
display-im6.q16: unable to open x server @ error/display.c/DisplayImageCommand/433
display --verion returns
Version: ImageMagick 6.9.10-23 Q16
If I run startx into the GUI, I can right-click and open the images in both imageViewer and imageMagick.
How do I use display to view these images while in the command line?