Hacker News new | past | comments | ask | show | jobs | submit login

Honestly, X forwarding doesn't work that well in my experience, unless you have a very stable connection, with quite a bit of bandwidth (~1Mbps at the very least). I've had more success using xpra for forwarding, as I'm often connecting over Wi-Fi (hostel, campus rooms...).

It's also rather complicated to set-up on the server side (xauth, magic cookie, etc).

waypipe, on the other hand, was a breeze to use, even though it's very young. I tried with Firefox and 500Mbps of upload capacity, it worked fine as long as the window wasn't too large.




> It's also rather complicated to set-up on the server side (xauth, magic cookie, etc).

you mean "ssh -Y user@host..."?


No, that is the client side. I went back and looked at the documentation, I was wrong and conflated two ways of doing it:

- X forwarding over SSH: this only requires changing X11Forwarding in OpenSSH sshd's config

- Plain X over network, which is secured with `xhost`, insecure, and needs transfering the magic cookie or other authentication information

So, not nearly as complex to setup as I recalled, though it's much simpler to run a nested wayland compositor (which waypipe does) than a X11 server (which xpra does). The difference between X11 and Wayland remote access thins when xpra is involved.

https://stackoverflow.com/questions/37157097/how-does-x11-au...


that would be the client side


To me, it’s been a while since 1Mbps was “quite a bit of bandwidth”, even for WAN connections.


Outside of major metros, in the US a lot of towns only offer up to 5Mbps down, and only then if you pay out the nose. Not sure if it matters for X forwarding, but upload caps are also ridiculously low even on otherwise reasonable connections.


Pretty much this. With 5 Mbps down on ADSL, you can expect 300 to 500 kbps up. It can be hard to remote connect home under those conditions.


> tried with Firefox and 500Mbps of upload capacity

That should have been 500 kbps




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: