I am using a macbook and i have an another computer with linux installed in it. I tried to view an image file upon ssh login by using eog ./1.jpg and gpicview ./1.jpg but nothing worked and i got these errors while using thementer image description here

I tried evince to view pdf file but it is not working.

Someone please help me out of this


Install XQuartz and SSH with X11 forwarding enabled so that the DISPLAY environment variable is set after connecting to the other system.

% ssh -XY somelinuxbox 
-bash-4.1$ echo $DISPLAY 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.