Raspberry Pi auto login without etc/inittab

ADTank picture ADTank · Nov 17, 2015 · Viewed 22.2k times · Source

I would like to settup my Raspberry Pi to auto login in a specific user. I googled this and the solutions that i found were about editing the /etc/inittab file. My problem is now i dont have that file, it appears to be missing in my version of Raspbian. Is there another way to do this?

Answer

Steve picture Steve · Jan 12, 2016

My autologin.conf file appears as below. Note the %I, my pi hangs otherwise:

[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin pi --noclear %I 38400 linux