AnsweredAssumed Answered

How to do autologin on systemd (yocto)

Question asked by Xinyu (eric) Chen Employee on Feb 26, 2018
Latest reply on Feb 26, 2018 by Xinyu (eric) Chen

Hi,

 

I try to modify the systemd getty service: /etc/systemd/system/getty.target.wants/getty@tty1.service, by changing the:

ExecStart=-/sbin/agetty --noclear %I $TERM

to

ExecStart=-/sbin/agetty -a root --noclear %I $TERM

But it does not work correctly. Anybody has the experience?

 

Thanks.

Outcomes