This repository was archived by the owner on Nov 2, 2024. It is now read-only.
Enabling Autologin #1425
Unanswered
sendmebits
asked this question in
General
Replies: 1 comment
-
I have made the decision to continue making modifications to getty in order to achieve autologin. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I saw the pinned post about disabling the auto-login feature here - #324
However, I wanted to 'enable' auto-login, I could not find any posts or discussion here. I was able to find a way to enable it, with the below. Backup your LXC first, this could break things, generally I think you're supposed to avoid editing these files directly.
Edit this file:
/lib/systemd/system/container-getty\@.service
Modify the ExecStart line to this:
ExecStart=-/sbin/agetty --autologin root --noclear --keep-baud tty%I 115200,38400,9600 $TERM
Beta Was this translation helpful? Give feedback.
All reactions