How to enable automatic login in LightDM
When you turn on the computer, after the operating system has finished booting, the screen where you have to enter the password to log in to the desktop will appear. If the computer is physically secured or if there is little chance that others will access your computer, you may want to enable automatic login so you can access the desktop faster.
TipsMake.com showed you how to enable automatic login in Ubuntu, but if you are using LightDM, here are the steps to enable autologin in LightDM.
How to activate autologin in LighDM
1. Open a terminal and enter:
sudo nano /etc/lightdm/lightdm.conf
2. Scroll down and find the lines:
#autologin-guest=false #autologin-user=user #autologin-user-timeout=0
3. Uncomment the lines by deleting # in front of each line. Change the autologin-user field to your username, as follows:
autologin-guest=false autologin-user=damien autologin-user-timeout=0
4. Save the file by pressing Ctrl + O and exit (using the keyboard shortcut Ctrl + X ).
Restart the computer and it will automatically log into the desktop.
Additional installation for different Linux versions
Linux Mint
Linux Mint's Desktop Cinnamon by default is using LightDM, but it does not come with lightdm.conf file. Follow these steps:
1. Open file:
sudo nano /etc/lightdm/lightdm.conf.d/70-linuxmint.conf
2. Add the following lines, change 'damien' to your own username:
autologin-guest=false autologin-user=damien autologin-user-timeout=0
Save and exit the file. Restart the computer for the feature to take effect.
Arch Linux
If you are using Arch Linux, you must add users to the autologin group before you can use this feature:
sudo groupadd -r autologin sudo gpasswd -a username autologin
Then, follow the steps above to activate the autologin lines in lightdm.conf file.
It's easy to enable automatic login for LightDM, as long as you feel safe doing so.
Hope you are succesful.
You should read it
- Configure Auto-Login for Windows 7 Domain or Workgroup PC
- How to enable the Login Login hidden on Windows 10
- Instructions for automatic login on Mac
- ALTER LOGIN command in SQL Server
- How to configure auto-login and lock mode after reboot in Windows 10
- How to turn off automatic Google login on Chrome
- How to take a screenshot of the login screen in Linux
- How to use the last command in Linux
May be interested
- How to turn off automatic Google login on Chromeon chrome 70, there is a feature that automatically blocks login to google accounts like gmail, youtube ... on chrome.
- How to Enable Automatic Updatesupdates to pc windows operating systems can make your computer more secure and stable, enabling your computer to run more smoothly. in just a few minutes you can learn how to enable automatic updates with the windows 7, windows vista or...
- How to know your Facebook has been hackedthe hackers have a lot of ways to hack into facebook accounts. automatic login facebook allows hackers to access login accounts of other users' websites thanks to their facebook access
- How to enable automatic backup of Registry on Windows 10how to automatically back up registry on windows 10? the trick to enable automatic backup of registry on windows 10 is simple and effective
- How to Login to Netgear Routerlogging into your netgear router will allow you to change the router's default username and password, customize network settings, security layer strength, and enable features like parental controls. the default login information for all netgear brand routers is the same.
- How to login Windows 10 by fingerprintthe network administrator will show you how to enable and configure the windows hello fingerprint feature to log on to a windows 10 computer with fingerprints with a slight touch.
- Customize the login screen background on Windows 7windows 7 allows you to change the login screen background - which appears when you start your computer - without any third-party software, but this setting is hidden. this article will guide you to enable this setting to customize the login screen background to your liking.
- How to enable the autocorrect feature on Windows 10instructions for using the automatic error detection and correction feature on windows 10. how to enable the automatic error correction feature on windows
- How to enable automatic call recording on Androidrecently, the google phone application has just added the feature of automatic call recording for the phone numbers not in the contact list.
- How to fix the error is not logged in Ubuntuone of the most common and controversial errors that ubuntu users encounter is the login boot loop. when you try to log in to ubuntu after booting, you will be taken back to the login screen and the process is infinite.