AutoLogon
Sometimes you need to autologon, here's how
First find out which Display Manager is active on your Kali:
cat /etc/X11/default-display-manager
If you have gdm3 you will see:
/usr/sbin/gdm3
If you have ligthtDM you will see:
/usr/sbin/lightdm
If you want to switch between gdm3 and lightDM:
sudo dpkg-reconfigure gdm3
For gdm3 open the configuration file:
sudo vi /etc/gdm3/daemon.conf
Uncomment the following two lines, save and reboot:
AutomaticLoginEnable = true
AutomaticLogin = kali
For lightDM open the configuration file:
sudo vi /etc/lightdm/lightdm.conf
Uncomment the following line under Seat, save and reboot:
[Seat:*]
...
autologin-user=kali
Install gdm3:
sudo apt update && sudo apt install gdm3
Last updated
Was this helpful?