Opening pdf over ssh in Mac terminal
As the title says, I do
> ssh [email protected]
Password:
> cd documents/
> 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.