sudo vim /etc/ssh/sshd_configand make sure X11Forwarding is set to yes on the box you are ssh’ing too.
ssh -v -X -C xxx.xxx.xxx.xxx(-X specifies X forwarding, -C specifies compression, -v is verbose).
- Once logged in, simply execute
xinitif it’s not already running on that box, and then fire off the name of your application. Examples:
- gnome-session (will start GNOME)
- startkde (will start KDE)
- firefox (will forward Firefox to your machine)