Replace <username> with the username that you want to automatically login to the GNOME desktop.
If you want to have a script help you to accomplish the task, download [http://wiki.amahi.org/images/a/a3/AutomaticLogin.rb AutomaticLogin.rb] and run the script as root.
Login as root then run the following commands:
<code>
cd /tmp
wget http://wiki.amahi.org/images/a/a3/AutomaticLogin.rb
chmod +x AutomaticLogin.rb
./AutomaticLogin.rb
</code>
After that follow the prompts to guide you in the setup.
= Troubleshooting for Vista =
This helpful page has helped with [http://www.windowsreference.com/internet-explorer/windows-has-blocked-this-software-because-it-cant-verify-the-publisher/ blocking VNC]