I would like to be able to view .jpeg/.tiff/.png files. What is the best way to do this remotely?
First, you need to make sure your terminal is setup to receive images and GUIs using “X11 forwarding”. If you are on Windows and using MobaXterm, you have everything you need. If you are on macOS, follow our X11 documentation for getting setup.
Once your connection is properly setup, you can use either the eog
or display
commands to look at an image.
Note that if you are in an interactive job, you need to launch the job with an --x11
flag on your srun
command.