Auto login on a BBB w/ Debian Wheezy

I have a few beaglebone blacks that I want to automatically log in to a console at boot. I have successfully gotten one of them to do this, but I cannot remember for the life of me how I did it. Well, I remember how to disable lightdm so that it has to be started manually by typing ‘startx’ from the console. Most of the information I have been finding revolves around making changed to /etc/inittab. For instance:

1:2345:respawn:/bin/login -f rfid tty1 </dev/tty1 >/dev/tty1 2>&1


1:2345:respawn:/sbin/getty --autologin debian --noclear tty1

found here:

But on the BBB with the working auto login, changing inittab has no effect on its behavior, so I must have changed something else. I unfortunately don’t remember what that might have been. Does anyone know of another way to set up auto login not using inittab? Thanks!

If you are using systemd you must add a service to /etc/systemd/system/
I believe you can use serial-getty@ttyGS0.service as a template.

aha, yes, that’s it!

in this file:


Change this line:

ExecStart=-/sbin/agetty %I 38400


ExecStart=-/sbin/agetty -a debian %I 38400


But, in my case i m using ttyO0 and unable to find tty1 service…could u please help me?

If you use the “history” command does your system that works show you what other files you changed?