To enable X11 forwarding, perform the following tasks:
Make sure that the SSH Tectia Server (M) software was compiled with X forwarding support. The binary packages contain runtime X detection in SSH Tectia Server and Client.
Ensure that xauth is in the path of the user running ./configure. Also, make sure that you have the following line in your /etc/ssh2/sshd2_config file:
X11 forwarding also needs to be enabled in the client by setting the following line in the ssh2_config file:
These options are on by default.
Log into the remote system and type xclock &. This starts an X clock program that can be used for testing the forwarding connection. If the X clock window is displayed properly, you have X11 forwarding working.
Note: Do not set the DISPLAY variable on the client. You will most likely disable encryption. (X connections forwarded through Secure Shell use a special local display setting.)