Thanks for the help, I would really like the auto login to work though.I found when I boot the image using qemu -hda binary.img it does auto login and the user is set to robert. But when I use the exact same image on a memory stick, no auto login and the user has changed to localhost@localdomain. Maybe Ubuntu has messed things up.
Rob Key