Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

Docs, HowTos, Tips & Tricks • Re: Auto login and `startx` without a display manager -- jes

$
0
0
I am finding after doing updates (using sid), that

Code:

/etc/systemd/system/getty.target.wants/getty@tty1.service
reverts to default.
OK, thanks for bringing that up.

My original method is a tad on the hacky side :)

For a more "correct" solution, create a file at /etc/systemd/system/getty@tty1.service.d/override.conf with the following content:

Code:

[Service]ExecStart=ExecStart=-/sbin/agetty --autologin <user name> --noclear %I $TERM
This can be used instead of modifying the unit file and should survive upgrades ;)

EDIT: Note added to the end of the OP.
@Head_on_a_Stick this does not seem to be ion the op. was there a reason why not?

Statistics: Posted by milomak — 2024-03-29 01:51



Viewing all articles
Browse latest Browse all 2849

Trending Articles