yangmusa
Posts: 5
Joined: Wed Mar 21, 2018 3:53 pm

Performance/lag of remote access using VNC vs. ssh

Wed Mar 21, 2018 4:10 pm

New to the forum - apologies if this is the wrong sub or a duplicate question. I didn't see any search results addressing this question, so hopefully not..

I have set up my Raspberry Pi with two different ways to access remotely - VNC server and ssh server. The main use is accessing Mathamatica from other machines. VNC works great from both my Chromebook and my Linux laptop. Very usable and responsive. Then I thought maybe ssh would be faster, since it's just passing data between the local front end and remote back end of a single program, rather than sending the whole desktop. But there's so much lag it's not usable at all. Which seems counterintuitive to me.

I use ssh like this:

Code: Select all

ssh -Y pi@myPis.ip.address
mathematica
While double-checking the code above for this post, I noticed there's an alternate way to invoke ssh. Does anyone know if the following would provide better performance?

Code: Select all

ssh my_user@myPis.ip.address
export DISPLAY=:0
mathematica

Thanks!

Return to “Networking and servers”