3 ms·
export your $DISPLAY with X11, Citrix stole the idea. not many really do it anymore it seems, and i doubt Wayland does it at all.. works great for me
by rando_comment 4y ago
export your $DISPLAY with X11, Citrix stole the idea. not many really do it anymore it seems, and i doubt Wayland does it at all.. works great for me
- shakna 4y agossh -x does that, _and_ it sets up authentication, making it harder to blow your foot off. No need to reinvent the wheel.
- yakubin 4y agoAnd it kills performance, making you watch redraws, while sshd is maxing out a single core.
- shakna 4y agoThe drawing is local to your machine, so it doesn't have any overhead over exporting $DISPLAY, and several sshd implementations have moved to fully multithreaded, since at least '08. The only performance hit is X11 (no different than normal) and the network - not ssh.
- yakubin 4y agoDoesn't fit with my experience. Moving from using ssh -X to just pointing remote X applications at my local X server without tunnelling it over SSH consistently improves performance for me. Not just in terms of experience, but also no process maxes out a CPU, so the machine has spare compute capacity for other tasks. It's really not an issue of ssh not being multithreaded. That shouldn't happen even on a single core. If sshd divided that workload over my n cores, it would still be very bad.