Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pawiromitchel/1d51ec0de40618c9887a4b3a7a1dd508 to your computer and use it in GitHub Desktop.
Save pawiromitchel/1d51ec0de40618c9887a4b3a7a1dd508 to your computer and use it in GitHub Desktop.
Kali light xfce4 root autologin (works after lightdm update)
## 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/
After lighdtdm update root autologin is broken fix 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! :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment