How to auto-login on boot up

Hello all,

I am new to programing on the rockpi and was wondering if there was a way to remove the requirement to login each time after booting up. I need to be able to have a script automatically run on boot-up and believe this login screen to be a problem.

Thanks,
David

google “lightdm autologin”, the first result is the answer: https://askubuntu.com/questions/51086/how-do-i-enable-auto-login-in-lightdm

1 Like

Did not work unfortunately, I still need to login each time after going through the process by entering rock for the login and rock for the password.

EDIT: I want to be able to completely bypass the beginning screen where you need to type in login name and password such as:
rockpi-4b login:

If you mean tty autologin, just google ‘tty autologin’.
https://wiki.archlinux.org/title/getty#Automatic_login_to_virtual_console