ssh -X doesn’t work out of the box for my 20.04 host. It was solved after adding X11Forwarding yes and X11UseLocalhost no to /etc/ssh/sshd_config at the host. btw, one great way to debug the problem is to turn on the verbose flag. i.e., ssh -vX hostname
ssh open display for 20.04 host
Posted on