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.
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.
>export DISPLAY=:0 >ssh [email protected] Password: >okular d01-x01-y03.pdf QXcbConnection: Could not connect to display Aborted (core dumped)
As far as I understand, we can see the contents of the PDF over ssh using only the less
command. One can also use rsync to get the PDF from remote system to the local system and view it.
ssh -X
orssh -Y
, if okular is a X11 application.