Skip to content

Instantly share code, notes, and snippets.

@intrd
Last active January 28, 2024 06:32
Show Gist options
  • Save intrd/12c12f6c863b3367f8c2249edd78b26c to your computer and use it in GitHub Desktop.
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! :)
@Soneji
Copy link

Soneji commented Mar 6, 2019

😁

@gioulisapo
Copy link

Thank you!

@pawiromitchel
Copy link

Many thanks, worked on Kali 2019.3

@abd3lraouf
Copy link

Works on kali 2020.2

@krystiangorecki
Copy link

Thanks! Works on Kali 2020.3

@yutaide
Copy link

yutaide commented Sep 29, 2020

Thank you. It works on Raspberry Pi OS desktop (64bit beta) RPI4B
2020-09-29

@testbughub
Copy link

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.

@rushtoshankar
Copy link

Works well for me. Thanks a lot.

@Galertaw
Copy link

nice. thx!

@Artanovskaya
Copy link

Artanovskaya commented Jun 11, 2022

cool

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