How can I disable auto login?
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
How can I disable auto login?
I want Mint to ask for a login password. Unfortunately none of the solutions Google provides seem to apply to the latest version 20 with all updates.
Thank you
Thank you
Last edited by SMG on Tue Jul 12, 2022 8:22 pm, edited 1 time in total.
Reason: Locking old topic to prevent new questions from being added.
Reason: Locking old topic to prevent new questions from being added.
Re: How can I disable auto login?
If you are using Cinnamon it is in the Login window settings, under users tab
Re: How can I disable auto login?
No sir. As I stated, that setting has no effect. I'm still logging in automatically and still have to input 2 passwords to connect to a network share. Time to reinstall.
Re: How can I disable auto login?
I just did it so I know it is quite simple - but I may not be running the same version of MInt that you are.
here is what I am running - as you can see LM19.3 Cinnamon
Code: Select all
majpooper@1150z:~$ inxi -Fxz
System: Host: 1150z Kernel: 5.4.0-54-generic x86_64 bits: 64 compiler: gcc v: 7.5.0 Desktop: Cinnamon 4.4.8
Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic
Code: Select all
inxi -Fxz
If it matches mine (LM 19.3 Cinnamon) or maybe even LM 20.x Cinnamon it is a two step process in System Settings > Login Window > Users
first, you have to move the slider to On to Allow Manual Login
second you need to delete the user that appears in the Username box in the Automatic Login section.
There is also away to accomplish by editing
Code: Select all
/etc/lightdm/lightdm.conf
Re: How can I disable auto login?
I'm running the latest LM 20, all updates current. Thanks.
- JOPETA
- Level 17
- Posts: 7762
- Joined: Thu Nov 20, 2014 6:10 am
- Location: En un lugar de cuyo nombre no quiero acordarme
Re: How can I disable auto login?
I wonder is you need to reconfigure lightdm (
Anyway, be sure you/your user don't belong to nopasswdlogin group in Menu>Administration>Users and group or terminal with
sudo dpkg-reconfigure ligtdm
) if another dm was installed and/or using another greeter.Anyway, be sure you/your user don't belong to nopasswdlogin group in Menu>Administration>Users and group or terminal with
id
.
Last edited by JOPETA on Sun Apr 18, 2021 12:10 pm, edited 1 time in total.
Ni cola de león ni cabeza de ratón, prefiero ser diente de ajo.(Javier Krahe)
Re: How can I disable auto login?
lightdm is the display manager installed for a Cinnamon install. IF it is an LM 20.x Cinnamon install. There is really no reason though to even mess with lightdm configuratio file
Code: Select all
/etc/lightdm/lightdm.conf
But at any rate without knowing what the DE the OP is using (Cinnamon, MATE or Xfce) it's hard to help.
Re: How can I disable auto login?
All editions of Mint use lightdm. OP seems not very keen on helping him or herself though anyway (i.e., you already advised checking and/or editing the config file directly if for some reason the GUI tool doesn't work) so I'd advise not being overly concerned either.
Re: How can I disable auto login?
No sir, you didn't state that.
It might be easier to edit the lightdm.conf file.Time to reinstall.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
- JOPETA
- Level 17
- Posts: 7762
- Joined: Thu Nov 20, 2014 6:10 am
- Location: En un lugar de cuyo nombre no quiero acordarme
Re: How can I disable auto login?
Linux Mint now, only install lightdm by default in Mate, Cinnamon or Xfce. I was only wondering if OP has installed another desktop as gnome or KDE or packages native from those another desktop so another dm would be installed (gdm3 or sddm). DM reconfiguration is also needed sometimes when installing other packages (graphic drivers, xorg...).
Ni cola de león ni cabeza de ratón, prefiero ser diente de ajo.(Javier Krahe)
Re: How can I disable auto login?
We could find out if they post results from terminal forJOPETA wrote: ⤴Sun Apr 18, 2021 11:53 amLinux Mint now, only install lightdm by default in Mate, Cinnamon or Xfce. I was only wondering if OP has installed another desktop as gnome or KDE or packages native from those another desktop so another dm would be installed (gdm3 or sddm). DM reconfiguration is also needed sometimes when installing other packages (graphic drivers, xorg...).
Code: Select all
inxi -Sxxx
- JOPETA
- Level 17
- Posts: 7762
- Joined: Thu Nov 20, 2014 6:10 am
- Location: En un lugar de cuyo nombre no quiero acordarme
Re: How can I disable auto login?
Yes, waiting for OP to comeback, as we can not discard anything (including no free space in root partition would explain why your first proposal didn't work), I think it is better the whole system information (
inxi -Fxxxzr
) Ni cola de león ni cabeza de ratón, prefiero ser diente de ajo.(Javier Krahe)
Re: How can I disable auto login?
Sometimes screenshots can be more helpful in explaining.
When a username is entered in the 'Username *' field (below example), then the system will automatically login.
With username removed (as below), future logins will require a password
When a username is entered in the 'Username *' field (below example), then the system will automatically login.
With username removed (as below), future logins will require a password
GNU/Linux Versions Performance Comparison (older hardware) includes 17.2 KDE RC and 17.2 Xfce RC
-
- Level 1
- Posts: 2
- Joined: Mon Jun 14, 2021 7:14 am
Re: How can I disable auto login?
Yeah, i had the same problem but finally i got it to work without reinstall..
I had this problem.. Even when i removed my name from Login window>Auto-login and rebooted my device, it got logged on automatically.. Hope this is the solution you're looking for...
STEP 1: On your desktop, right click and select open as root.. Enter your password when it prompts you..
STEP 2: Navigate to Filesystem>etc>lightdm>lightdm.conf
STEP 3: Open the file lightdm.conf with a text editor or something.. Remember that if you skipped step 1, you won't have overwrite privileges.
STEP 4: You'll find a line like
In that, replace your username with false (all lowercase) and hit save..
AND YOU"RE DONE!!! This worked for me when all the mentioned methods failed for me
I had this problem.. Even when i removed my name from Login window>Auto-login and rebooted my device, it got logged on automatically.. Hope this is the solution you're looking for...
STEP 1: On your desktop, right click and select open as root.. Enter your password when it prompts you..
STEP 2: Navigate to Filesystem>etc>lightdm>lightdm.conf
STEP 3: Open the file lightdm.conf with a text editor or something.. Remember that if you skipped step 1, you won't have overwrite privileges.
STEP 4: You'll find a line like
autologin-user=<your_username>
In that, replace your username with false (all lowercase) and hit save..
AND YOU"RE DONE!!! This worked for me when all the mentioned methods failed for me
-
- Level 5
- Posts: 502
- Joined: Fri Jul 06, 2018 8:21 pm
- Location: East Coast Canada
Re: How can I disable auto login?
DaveB, your suggestion worked for me Mint Mate 20
Re: How can I disable auto login?
In linux Mint 20.2 (Cinnamon 5) you need to type in your terminal:
Autologin must be with "false" key
Code: Select all
xed admin:///etc/lightdm/lightdm.conf
Code: Select all
autologin-user=false
Last edited by xenopeek on Thu Jan 06, 2022 5:18 am, edited 1 time in total.
Reason: replaced unsafe sudo command with normal admin:// way to open system files
Reason: replaced unsafe sudo command with normal admin:// way to open system files