Note: Most of these instructions will work on Linux as well.

Connecting through SSH

Connecting from a remote computer:

FastX (for graphical sessions)

Optional (In Case You Dislike FastX) - X11 Forwarding

If you want to stick with regular ssh and still run programs with GUIs written according to the X display protocol, like gedit or Eclipse, you need an X server. With most Linux distributions, this should work out of the box, but for Macs, you'll need to download an extra bit of software.

Start by downloading the program XQuartz here.

Once the install wizard finishes, log out of your personal computer and log back in to finish the installation process.

From now on, instead of using Terminal to ssh, open XQuartz. (Note: Depending on your version of Mac OS, you might see the program referred to as X11).