ssh -X machine ssh -Y machine
To make this happen on every machine you ever ssh to, without the -X or -Y option, edit the file ~/.ssh/config (or /etc/ssh/ssh_config) and enter or uncomment a set of lines like:
Host * GSSAPIAuthentication yes ForwardX11 yes ForwardX11Trusted yes ServerAliveInterval 15
To restrict this to just one machine, specify Host wally rather than the global Host *.
ssh -X root@mmt wireshark
Adventures in computing / [email protected]