I open GUI remote programs by SSHing with the -X
(or -Y
) flag, e.g.,
$ ssh -Y user@host.com
Recently, I found there is a much more efficient way to do this with web browsing only:
$ ssh -DNNNN user@host.com
where NNNN
is a four digit port number. Then I configure my local browser to connect through a proxy via port NNNN. This is much more efficient than the first SSH method because all the GUI information does not need to be transported through the tunnel, only the web data I am requesting.
My question is: is there a more efficient way to SSH with X-forwarding in general? Maybe some scheme that utilizes local libraries or rendering or something to aid in operating a GUI program hosted remotely?