SSH is the preferred remote connection software for command line use. You need to be running the sshd server on the destination machine, and you would then:
ssh -Y userid@destination
If you'd like to get a remote GUI desktop, after you ssh in, issue these commands (for example):
vncserver -geometry 1024x768 -depth 24 :4
vncviewer :4
When you are done:
vncserver -kill :4
|