Objective

The objective is to enable autologin on Kali Linux

Operating System and Software Versions

  • Operating System: - Kali Linux

Requirements

Privileged access to your Kali Linux System as root or via sudo command is required.

Difficulty

EASY

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - given linux commands to be executed as a regular non-privileged user

Instructions

Kali Linux use GDM3 as a default Display Manager. 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
Next, edit /etc/gdm3/daemon.conf configuration file and uncomment the following two lines:
AutomaticLoginEnable = true
AutomaticLogin = root


Kali Linux autologin configuration
Kali Linux autologin configuration
Once you have made the above change simply reboot your Kali Linux to confirm your configuration.
# reboot
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME or create a JOB ALERT on LinuxCareers.com job portal.
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