If you’re planning on using your Raspberry Pi as an appliance, you’ll want it to automatically login and load LXDE (the GUI). You may also want to do this if you are just tinkering around with the Raspberry Pi (as I am at the moment) and are using it without a monitor using a VNC server.
This eLinux Wiki guide explains how to do it, but if you want to start your VNC server instead, instead of adding
startx to the bottom of the /etc/profile file, add the command you use to start your VNC server, e.g. “
vncserver :1 -geometry 1024x728 -depth 24”.
EDIT: eLinix Wiki updated their entry, the above will no longer work. This is a better way.