just do this after you install the server again.
Now, get it to automatically login to an already existing user.
sudo apt-get install xorg-server
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install xbmc-ppa-keyring
sudo apt-get install xbmc
Replace the line that starts with
sudo apt-get install mingetty
sudo nano /etc/init/tty1.conf
where username is the name of the user.
exec /sbin/mingetty --autologin USERNAME tty1
I myself used a different setup at this point, as XBMC was a bit cranky without pulseaudio.
However, you can just add xbmc to ~/.profile , and it will run on login.
In case you run into the same audio problems that I did, run xbmc on top of openbox
At the bottom of the file, add
sudo apt-get install openbox
Now, start openbox once.
Exit by right clicking, and choosing "quit"
Now, add xbmc and pulseaudio to the openbox startup
place this inside.
Allow shutdown without password
shutdown -h now
Note that much of this is from memory - might require some tweaking.
sudo chmod u+s /sbin/shutdown