Debian systemd autologin without a display manager

28 11 2012


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

ExecStart=-/sbin/agetty --autologin <username> --noclear %I 38400 linux


I just upgraded Wheezy to systemd which broke my autologin. It’s an easy fix.

Edit the file: ‘/etc/systemd/system/’

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.



4 responses

8 06 2015
Debian 8 : systemd autologin sans display manager –

[…] via […]

29 10 2015

thx very helpful

10 11 2015

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 .

28 10 2016

Tank you its work for me

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: