You can google Xquartz and download it from its official site, or install using HomeBrew. Install Xquartz to get X11 support on MacOS.usr/bin/google-chrome-stable %U -no-sandbox Ssh -Y forwarding request failed on channel 0 # 远程主机安装xauth,以centos为例,使用xclock可以测试图形化效果
# 没有使用xquartz中terminal的话不会自动设置DISPLAY环境变量,可能会出现以下错误 ~ ] # firefoxįailed to open connection to "session" message bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11Įrror: no DISPLAY environment variable specified Run Applications > Utilities > XQuartz.app # 启动xquartz,实测`Allow connections from clients`选项非必须条件 When you plug a new monitor in, xquartz-wm checks to see if the window overlaps the new displays, but does move them if theyre out of the total bounding boxes.