Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Soneji/76a1ddc61397db3d80e7c7e635a4eb5c to your computer and use it in GitHub Desktop.
Save Soneji/76a1ddc61397db3d80e7c7e635a4eb5c 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