UPDATE:
Create the directory:
sudo mkdir /etc/systemd/system/getty@tty1.service.d
Create file:
sudo vim /etc/systemd/system/getty@tty1.service.d/autologin.conf
Insert:
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin <username> --noclear %I 38400 linux
ORIGINAL:
I just upgraded Wheezy to systemd which broke my autologin. It’s an easy fix.
Edit the file: ‘/etc/systemd/system/getty.target.wants/getty@tty1.service’
and find the line: ‘ExecStart=-/sbin/agetty %I 38400’
and change to: ‘ExecStart=-/sbin/agetty –noclear -a USERNAME %I 38400’
The –noclear is optional, it prevents the screen from clearing out the console messages.
Advertisements
[…] via storma.wordpress.com […]
thx very helpful
Thanks Thanks Thanks and thanks again , i was looking for this , i have tryng with init.d , inittab and nothing works , this work perfect . thanks .
Tank you its work for me