I've recently started using macOS. I am looking for an SSH client that allows xwindow tunneling through SSH. As suggested, I've installed Xquartz via brew but whenever I try opening an xwindow based app like gvim or Firefox, I get an error like this:
E233: cannot open display
I'm logging into the host like this:
ssh -X user@domain . I've also tried replacing the
-Y but it makes no difference at all. I've tried this with native terminal, iterm2 and termius. The latter two are great but they lack this very important feature that allows me to open things like Firefox and gvim directly from the terminal. Using putty is out of the question as it seems that it is no longer supported.
Perhaps I am doing it wrong. Looking for tips/advice etc