To followup on what sanderj wrote, you need to have the x-server on the machine on which you will actually do the viewing. Then connect to the remote machine with the -X option. Setting DISPLAY=:0 on the remote machine will cause the program to be displayed on the remote machine itself, if it has an X-server running.
Alternately, instead of using the -X option each time, if you're always going to use X forwarding, you could modify ~/.ssh/config and make an entry for that host:
Code:
Host otherbox
HostName otherbox.example.edu
ForwardX11 yes
Either way, you want to leave the DISPLAY variable alone.
Bookmarks