Use the following command:

ssh -Y user@host

-Y enables “trusted X11 forwarding”

Alternately, have the two lines:

ForwardX11 yes
ForwardX11Trusted yes

in ~/.ssh/config