
You need xauth for this to work, and xterm is a lightweight way to troubleshoot this stuff (just run “xterm” at a shell prompt and a window should pop open). Once you turn it on in your client & save the settings you will need to reconnect, the forwarding is established with the connection. I use SecureCRT but I know it works in PuTTY as well.

Make sure your SSH client supports X11 Forwarding and that it’s turned on.

I’m thinking about Linux when I write stuff like this but a lot of this has worked on AIX and Solaris, too.

X11 forwarding over SSH not working? Not setting $DISPLAY correctly in your shell? Having problems with X11 and sudo? Yeah, me too.
