Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Raspberry Pi auto login without etc/inittab

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?

like image 375
ADTank Avatar asked Nov 17 '15 10:11

ADTank


1 Answers

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
like image 195
Steve Avatar answered Dec 08 '22 00:12

Steve