SSH Tectia

X11 Forwarding

X11 forwarding is a special case of remote tunneling.

SSH Tectia Client supports X11 forwarding on both Unix and Windows platforms. SSH Tectia Server supports X11 forwarding only on Unix platforms.

X11 forwarding

Figure 8.6. X11 forwarding

X11 forwarding can be enabled in the client by setting the following line in the ssh-broker-config.xml file (either under default-settings or under a connection profile):

<forwards>
  <forward type="X11" state="on"/>
</forwards> 

By default, X11 forwarding is off.

With the Windows GUI, X11 forwarding can be enabled under Profile Settings → Tunneling. See Defining Tunneling (SSH Tectia Client).

To test that X11 forwarding works, 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 the X11 forwarding working. If the X clock fails and complains that it cannot open the display, check that the XAuth is properly installed on the remote host.

[Note]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.)