X11 Forwarding using SSH

Filed under
HowTos

As I have explained earlier, there are different ways to connect to remote servers or workstations. You can use NoMachine’s NX server or the GPL solution called FreeNX. Other tools like RealVNC or VNC provide remote control software which lets you see and interact with desktop applications across the network.

One way to enforce the traffic security is to use the SSH by the way of X11 tunneling or port forwarding. SSH was developed to replace the insecure telnet, ftp, rcp, rlogin, rsh software. FreeNX is already perfectly using this technology. In this article I will show, how to forward X11 using ssh without any additional software on the Linux site. Additionally I will explain how to run Linux applications on Windows XP clients using PuTTY and X-Deep/32.

For instructive purposes, we will use a small scenario to explain what needs to be done. There are two machines we would like to access remotely:

OpenSuse 10.2 running KDE
Debian 4.0 running Gnome

As client machines we will use OpenSuse with client ssh software but also Windows XP with Putty. From the perspective of SSH, the remote machine is the server and your local machine is the client. The workshop setup could look like this:

More Here.




Also: Howto set up a proper KDE look for GTK (Gnome) Applications