Skip to content

Instantly share code, notes, and snippets.

@intrd
Last active March 18, 2026 00:50
Show Gist options
  • Select an option

  • Save intrd/12c12f6c863b3367f8c2249edd78b26c to your computer and use it in GitHub Desktop.

Select an option

Save intrd/12c12f6c863b3367f8c2249edd78b26c 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/
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! :)
@krystiangorecki
Copy link
Copy Markdown

krystiangorecki commented Mar 18, 2026

Thanks! Still works in Kali 2025.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment