Manuals/autologin

From Minux Wiki
Revision as of 17:16, 30 September 2024 by Shorun (talk | contribs) (Created page with "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. <code>minux.login("foo","bar")</code> save the file, exit the editor now we need to trigger apt to do someth...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.