I have a RFID reader interfaced with an Arduino microcontroller left over from a past project, which I would now like to use to automatically login on Ubuntu 11.10. What I'm imagining specifically is that I would start up my computer normally, it would get to the login screen for Ubuntu, I would swipe my RFID card and Ubuntu would then begin loading the desktop and everything as though I had typed in my password.
I have a python script already made that can read the RFID tag and use it to decrypt my password, and I can set it up to run when the computer starts up. I just have no idea what scripts Ubuntu runs when a user logs in.
Basically, all I need to know is what to add to my script so Ubuntu will load my profile and desktop as though I had just entered my password on the normal login screen.