X Server
This software provides X11 forwarding functionality but does not include an X Server implementation. You need to use XQuartz to enable the X Server.
1.XQuartz Install
XQuartz Installation
brew install xquartz --cask
You may choose other installation methods
2.XQuartz Configuration
• Disable authentication for connections
• Enable connections from network clients
You need to restart the software and check if port 6000 is being listened to on your machine.
Due to Apple’s sandbox restrictions, only network connections are allowed — local socket connections are not supported.
3.Configure the Server
vim /etc/ssh/sshd_config
AllowTcpForwarding yes
X11Forwarding yes
systemctl restart sshd
4.Check Status
5.Configure Connection
• Go to Home → New HOST
• Fill in the required information
After clicking OK, locate the created label and double-click to connect.