What are recommendations on speeding up X applications over local fast (gigabit) connections? (similar question for slow connections)
Currently I'm running over ssh -Y
, which is fine, but I wonder if turning off compression could speed it up. If so, how do I turn off compression, encryption, and setup whatever you recommend:
- without changing default sshd behaviour when modifying the configuration on the server side
- preferably using command line options on client side
Best Answer
Partial answer regarding compression, from OpenSSH's man page
ssh_config(5)
(what you can configure using the-o
option ofssh
(i.e.ssh -oCompression=no
) or~/.ssh/config
):On the server side (
sshd_config(5)
),compression can be forbidden, but not forced, so nothing to do here. But, as this is the default, it probably doesn't help you speed up anything.
(Depending on your network situation, I guess you could probably get a speedup by using something insecure, e.g. a plain X11 connection,
DISPLAY=myothercomputer:0.0
etc, or maybe consider VNC, too.)