In this Screencast I show you how to setup a remote desktop connection with OpenSSH and Xnest.
All you need to do is installing xnest onto your OpenSSH server and editing /etc/gdm/custom.conf (if you're using gdm) to allow XDMCP by adding the following lines
Then restart GDM on your OpenSSH server. (i.e. /etc/init.d/gdm restart) ssh with -X and -C switch (if you like to enable compression) to your OpenSSH server again and open up a nested X-Server. Xnest :1 -ac -geometry 800x480 -once -query localhost. Now you have a fully fledged X-Server running nested on your host. Try to start a window manager or desktop by sending it the right Port zu the nested X-Server (i.e. DISPLAY=:1 startfluxbox)