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.
Kali Linux autologin configuration
Kali Linux autologin configuration

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Kali Linux
Software N/A
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

How to enable autologin on Kali Linux step by step instructions


SUBSCRIBE TO NEWSLETTER
Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.


Kali Linux use GDM3 as a default Display Manager.

  1. First confirm that your Kali Linux is set to use GDM3 as a default display manager:
    # cat /etc/X11/default-display-manager
    /usr/sbin/gdm3
    
  2. Next, edit /etc/gdm3/daemon.conf configuration file and uncomment the following two lines:
    AutomaticLoginEnable = true
    AutomaticLogin = root
    
  3. Once you have made the above change simply reboot your Kali Linux to confirm your configuration.
    # reboot
    
FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:



Comments and Discussions