Gtk-WARNING **: 11:43:16.156: cannot open display: localhost:17

I couldn’t resolve this problem. It took me days and I tried with a lot of stuff, trying to modify:

  • /.ssh/config

  • /etc/ssh/ssh_config

and

  • /etc/ssh/ssh_config

without any result and I still can not find a solution. Does anyone has any idea what could be going wrong and how to resolve it?