Skip to main content
4 of 4
added 73 characters in body
Pablo A
  • 3.2k
  • 1
  • 26
  • 46

As Lord Giles said here:

  • Client side you need to connect with ssh -X (per session, ~/.ssh/config to use it always)
  • Server side you need to have X11Forwarding yes in /etc/ssh/sshd_config (note the d). Also, some packages like xauth and libxdmcp6, installed by default. Remember to sudo systemctl restart sshd.service to changes to take effect (use test mode before (sudo sshd -t), to check for any errors).

For security reasons, I wouldn't enable it to use it always, and in general only use it on very trusted servers.

Other sources

Pablo A
  • 3.2k
  • 1
  • 26
  • 46