Ask HN: What is the best setup to work remotely with GUI on Linux?
In the past I tried a couple of setups using different protocols (VNC / RDP) with varying server / client software but was never really satisfied. Since this is a common problem, I am sure that some people here on HN have a well tested configuration for this and might be willing to give some advice.
Scenario I am interested in: * Server machine runs graphical applications (potentially GPU / OpenGL intensive) * Client can connect via SSH and is supposed to see graphical application (full desktop or just application)
Thanks for any recommendation!
39 comments
[ 4.1 ms ] story [ 94.4 ms ] threadIf you're remote it can speed up X forwarding and make the whole application more reactive.
https://www.teamviewer.com/en/download/linux/
They are better than X over ssh and usually a little better than rdp
you can do steam in-home streaming over zerotier.
it's actually faster than geforce now
i have a raspberry set up so that i can plug it anywhere and work on my home computer
latency is so low that shooters are very much playable
you can use steamlink hardware as a client, or the newish raspberry pi release
I did not test GPU intensive software, but its easy to install, runs nearly out of the box and client software is available for Windows, Linux and MacOS:
https://help.ubuntu.com/community/xrdp
It does take some tweaking of the compression parameters for good performance. I also had better luck using its native TLS encryption rather than tunneling over SSH.
I still suck at CounterStrike, but that is not the software's fault.
https://parsecgaming.com/
I have a linux desktop, but would love to do some windows gaming remotely. Isn't the latency introduced by gaming over VPN a problem? If not for single-player, then certainly multiplayer?
TurboVNC is a fork of TigerVNC that has improved OpenGL performance. I can't comment on it too much.
I either connect to VNC directly on :5900 if I'm on the same LAN, or I `ssh -L5901:localhost:5900 server-box`, then `vncviewer localhost:5901`.
I posted a comment recommending TurboVNC earlier, but it looks to be hidden. It compared favorably with TigerVNC when I tested both. VirtualGL support is baked right in, though of course you have to first set up VirtualGL itself. That'll allow you to use the GPU on a headless machine and share it between users. (with some caveats)
Running Firefox over a WAN is slow-going with X11 and ssh, VNC is much faster. The first one I tried was tightvnc, and it did the job for what I needed, so I have stuck with that.
Once you install Apache Guacamole on the remote machine, you can access it via your web browser
Browser, mobile, desktop, etc.