Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Autologin on tty? (Read 925 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Autologin on tty?

I tried creating a service called autologin and it's content was:

type  = process
command  = /sbin/agetty -o '-p -f -- \\u' --noclear --autologin username %I $TERM


but it fails to start at boot and I have to type in the username and password can somebody help me?

Re: Autologin on tty?

Reply #1
not sure why or for what those options you use are for, but just adding "-a <your_username>" to any pre-existing tty<1-6> service files should just work.


 

Re: Autologin on tty?

Reply #2
Thank you so much it worked!!