![install xquartz and ssh install xquartz and ssh](https://www.cyberciti.biz/media/new/faq/2013/11/3-300x225.jpg)
# to add an environment entry working on every terminal, # to add an environment entry only working on current terminal, use `export` NOTE: You have to lauch Xquartz with Allow connections from clients enable everytime you want to ssh to remote server with X11 forwarding support.
![install xquartz and ssh install xquartz and ssh](https://wangjunjian.com/images/2021/x11/ssh-x11-forwarding.png)
Go to Preference -> Security, click the box Allow connections from clients.
INSTALL XQUARTZ AND SSH INSTALL
You can google Xquartz and download it from its official site, or install using HomeBrew.
INSTALL XQUARTZ AND SSH WINDOWS
![install xquartz and ssh install xquartz and ssh](https://i.imgur.com/6Msw3gW.png)
In the By name menu, choose SSH Server (port 22).Follow the steps in Adding a published service to a VM.
![install xquartz and ssh install xquartz and ssh](https://www.simplified.guide/_media/ssh/enable-x11-forwarding/x11forwarding-glxgears.png)
Add a published service to the VM to enable an SSH connection, and enable X11 forwarding in the AIX VM OS settings.