There's a much easier way than that.
Download this implementation of VNC (which is the best):
http://www.redstonesoftware.com/vnc.html
Put it in your applications directory. Run it once and set your passwords and other options.
Then you can run it remotely by SSH'ing in and doing:
open /Applications/OSXvnc
Wade