Manuals/autologin

From Minux Wiki
Jump to navigation Jump to search

This manual explains how to set up auto login on a minux system


in order to automatically log in, you would have to somehow log in before init runs login.sh, this can be achieved by adding an instruction to the boot process.


edit /etc/apt/boot/autologin.d, in this file, add one line, replace "foo" with your username and "bar" with your password.

minux.login("foo","bar")

save the file, exit the editor

now we need to trigger apt to do something so it rebuilds /boot/addon.d with the instruction you just provided being included, so, run "apt -u".

that's it, you can now reboot the system and it will automatically log in and skip the normal login stage.