- Make sure you have
xauth
installed. (See:xauth info
orxauth list
) - On the server your
/etc/ssh/sshd_config
file should have these lines:
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no
- Make sure on client side you have
X server
installed. - On the client side your
~/.ssh/config
file should have these lines if not create new config file and add: