The objective of this short guide is to explain how to enable autologin on Kali Linux with step by step instructions.
In this tutorial you will learn:
- How to identify what is your system’s default Display Manager.
- How to edit an appropriate configuration file to enable autologin on Kali Linux.
Software Requirements and Conventions Used
|Category||Requirements, Conventions or Software Version Used|
|Other||Privileged access to your Linux system as root or via the
# – requires given linux commands to be executed with root privileges either directly as a root user or by use of
$ – requires given linux commands to be executed as a regular non-privileged user
How to enable autologin on Kali Linux step by step instructions
Kali Linux use
GDM3 as a default Display Manager.
- First confirm that your Kali Linux is set to use
GDM3as a default display manager:
# cat /etc/X11/default-display-manager /usr/sbin/gdm3
- Next, edit
/etc/gdm3/daemon.confconfiguration file and uncomment the following two lines:
AutomaticLoginEnable = true AutomaticLogin = root
Once you have made the above change simply reboot your Kali Linux to confirm your configuration.