[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SOLVED Re: how to autologin with systemd?



Hi Austin,
* Austin Adams <me@austinjadams.com> [28. Feb. 2016]:
> On Sun, 2016-02-28 at 23:38 +0100, Gregor Zattler wrote:
>> /etc/systemd/system/getty@tty1.service.d/override.conf:
>> 
>> [Service]
>> ExecStart=-/sbin/agetty -a my-user-name --noclear %I $TERM
>> Type=idle
> 
> Like the ArchWiki page you linked suggests, you'll need to add an empty
> ExecStart= line into `override.conf'. Like:
> 
>     [Service]
>     ExecStart=
>     ExecStart=-/sbin/agetty -a my-user-name --noclear %I $TERM
>     Type=idle
> 
> If you're curious about what that does, systemd.service(5) says: 
>> ExecStart=
>> ...
>> If the empty string is assigned to this option, the list of  
>> commands to start is reset, prior assignments of this option will
>> have no effect.

That did the trick.  Now it works.  Thank you.  

> (The error message in Michael's response is helpful, too.)

I couldn't decipher it but thanks to Michael for the hint to
journalctl which I did not use till now.

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-


Reply to: