Tuesday, September 18, 2012

Remotely connecting to a unix machine in graphical mode


ssh user@host lets you to access a unix machine in command line mode.

But if you need to access its UI, you need to access the graphical mode. This can be achieved by using ssh with X forwarding. This is the command for that.

ssh -X user@host

This will set the DISPLAY variable automatically. The X programs you run will be automatically tunneled back through the ssh connection.

Day 03 Gala Dinner Highlight Video