one word, "SSH"
Install ssh and you can login to/from any box (even windows)
Code:
sudo apt-get install ssh
will install the ssh server for you. If you are running a firewall, make sure to open port 22 to the LAN.
Then to login to a box you
Code:
user1@box1:~$ ssh user2@box2
Password:
user2@box2:~$
To login to the box by hostname (rather than IP address) you need to add the IP address and hostname to your /etc/hosts file
You may also want to look at "man ssh" for more advanced options, like X11 forwarding.