Objective
The objective is to enable Automatic Login on Ubuntu 18.04 Bionic Beaver LinuxOperating System and Software Versions
- Operating System: - Ubuntu 18.04 Bionic Beaver Linux
- Software: - GDM3, GNOME
Requirements
Privileged admin/root access to required to perform this configurationConventions
- # - 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
Other Versions of this Tutorial
Ubuntu 20.04 (Focal Fossa)Instructions
Enable Automatic Login from GUI
Subscribe to RSS and NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.
Enable Automatic Login from command line
Using privileged admin account open up terminal or your favorite text file editor and edit the/etc/gdm3/custom.conf
configuration file. Change from: [daemon] # Uncoment the line below to force the login screen to use Xorg #WaylandEnable=false # Enabling automatic login # AutomaticLoginEnable = true # AutomaticLogin = user1TO:
[daemon] # Uncoment the line below to force the login screen to use Xorg #WaylandEnable=false # Enabling automatic login AutomaticLoginEnable = true AutomaticLogin = linuxconfigYou will need root/administrator privileges to perform this operation. Uncommenting the above lines will enable automatic login for the
linuxconfig
user. Change the username to suit your needs.