Last active
January 28, 2024 06:32
-
-
Save intrd/12c12f6c863b3367f8c2249edd78b26c to your computer and use it in GitHub Desktop.
Kali light xfce4 root autologin (works after lightdm update)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Kali light xfce4 root autologin (works after lightdm update) | |
# @author intrd - http://dann.com.br/ | |
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/ | |
Root autologin is broken after lighdtdm update, fix by doing this: | |
nano /etc/lightdm/lightdm.conf | |
at [Seat:*] group uncomment/edit: | |
autologin-user=root | |
autologin-user-timeout=0 | |
now.. | |
nano /etc/pam.d/lightdm-autologin | |
change: | |
auth required pam_succeed_if.so user != root quiet_success | |
to: | |
auth required pam_succeed_if.so user != anything quiet_success | |
all done! :) | |
Works well for me. Thanks a lot.
nice. thx!
cool
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good god man, thank you for this.
I've been pulling my hair out for half a day trying to get auto login to work.