X11 Forwarding not working

I can't seem to get Core Shell to forward X11 (Yes I am running XQuartz). If I use "ssh -Y hostname" from terminal (or xterm) everything works.

If I connect via Core Shell and try to run the same chromium-browser, I get:
[ERROR:ozone_platform_x11.cc(245)] Missing X server or $DISPLAY
[ERROR:env.cc(257)] The platform failed to initialize. Exiting.

I have set it up in Core Shell with:
ExitOnForwardFailure - yes
ForwardX11 - yes
ForwardX11Trusted - yes
XAuthLocation - /usr/bin/xauth (this is correct for RHEL 9)
I have also tried the following:
SetEnv - export DISPLAY=localhost:0.0

Everything I can find says this should work, but it doesn't. One thing that is different about me, is I've changed the default shell on my Mac from zsh to bash, but I have DISPLAY set properly in .zshrc, .bashrc (for xterm), and .bash-profile (and have verified each with printenv)

Also tested, and working is if I open "Local Default" in Core Shell and connect using ssh -Y

Core Shell is a GUI App, so it does not recognize .zsh nor .bash-profile, please try set DISPLAY in Settings:

Kind Regards,

Yang

I swear I tried that already, but this time it worked, so I must have had a typo or put it in wrong somehow. Thank you for the quick response.

For anyone who finds this in the future, I did NOT have to quit/restart Core Shell for this to apply, I just made the change and started a new session.

1 Like