X11 ssh forwarding

Since I’ve been running Eclipse on my FreeBSD box and displaying it over X11 to my PowerBook, I wanted to enable X11 forwarding over ssh so that I wouldn’t have to manually set the DISPLAY environment variable. I tried ssh -X and it wasn’t working, until I realized that I had X11Forwarding No in the /etc/ssh/sshd_config file on my server. Once I changed it to “Yes” and HUPped the sshd, things started working.

Leave a Reply

Your email address will not be published.