Question #175507 “ssh problem when trying to start an X app.: Ca...” : Questions : openssh package : Ubuntu

I can ssh -X 192.168.1.2 into my server and run terminal applications, but every time I try to run any X application, I get: X11 connection rejected because of wrong authentication. Error: Can't open display: localhost:10.0 I've been googling this for over an hour an can't find a solution that wo…