Opening pdf over ssh in Mac terminal As the title says, I do

&gt; ssh user@host.de 
Password:     
&gt; cd documents/ 
&gt; okular example.pdf 
QXcbConnection: Could not connect to display 
Aborted (core dumped)


I connect to an OpenSUSE machine over SSH from a MAC OS.
I understand it wrongly first. Try first

export DISPLAY=:0 


And run your ssh, this might help.