Sunday, April 10, 2016

bash - Script to login and load main gui in Ubuntu 11.10

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.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...