see:

install ssh client and server. Configure server in /etc/ssh/sshd_config. Enable x11 forwarding with:

X11Forwarding yes

Restart ssh server with /etc/init.d/ssh restart.

You may also enable x11 forwarding on client side in /etc/ssh/ssh_config.

Login to remote host with ssh -X.