I’m accustomed to run xrdp over ssh tunnels, but not vnc.
I assume the procedure is more or less the same (using something like putty to create the tunnel, and forward the vnc port)?
Is it sufficiently fast?
Also, there are lots of vnc servers (tight, real, tiger, etc…). Which is the best?
First of all, please describe why you need a remote desktop. Most services, e.g. jupyter can be accessed by ssh portforwarding, or you can remotely mount you disk with something like sshfs. In any case you should look into ssh portforwarding, even if using vnc, as it will provide the security layer that you ask for. E.g. you can run x11vnc (look it up) on your linux box, which will listen on port 5900 by default. You should then connect to your linux box with portforwarding of remote port 5900 to a local port, e.g. 5900. You can then connect by a vnc client on your local computer to localhost:5900 , which will be forwarded (and compressed, and encrypted) by ssh to your remote Linux box.
I hope you are not watching movies or play starcraft over remote desktop.
like dov and I said before, if you show your needs/use cases, someone might know something more efficient, if you already made up your mind to gui only, you already got your answer.
The short answer is that I just got to do my ordinary job on the remote machine. Why? Because it is powerful, while my laptop is weak. I got a Xeon and 64Gb of ram on the remote host, while my laptop is a core-M with 4gb.
I’m used to work with hundreds of browser tabs running simultaneously, heavy IDEs, a lot of background tasks, and of course DL.
As soon as I open apps on the laptop, it slows down considerably, and the battery is rapidly drained.
I’d really like to use the laptop just as a (graphical) terminal.
That said, what really pisses me off is the smoothness and speed of using RD between two windows machines. I just cannot manage to achieve that between windows and linux (or linux/linux), no matter the tool I use (rdp, x2go, vnc, etc…) which is strange, since the protocols are the same.
Over the same internet connection I can watch fullscreen movies between two windows, whereas even scrolling a web page is slow as linux is involved.
On the other hand, if I use windows on the remote host, DL performances take a substantial hit. For reasons I fail to understand, training a NN with pytorch or TF takes some 50% more time on windows.
Didn’t know pfsense, I googled it and it seems interesting as a general purpose firewall platform. Did you recommend it just to put an additional layer of security over the solution we mentioned (rdp, vnc, etc…)?
To be honest, I already got a similarly configured setup, and I was more interested in remote accessing a full desktop gui, but I think your blog post will be extremely useful to other people who will stumble upon this thread, thanks