Automatic login does not work with LMDE2
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Automatic login does not work with LMDE2
LMDE2 Cinnamon 64bit after upgrade from LMDE1 201403 Cinnamon 64bit
In LMDE1 I had the system set to auto-login, that is System settings-Administration-Login window-Login window preferences with Auto login set to Automatic login for user ron. As far as I can see, if I go through the same dialog on LMDE2 it is still set that way. HOWEVER it doesn't work, I no longer get an uninterrupted login process. When I boot LMDE2, first I get a Login box asking for a username,
UPDATE I have to enter ron as user name
and I have to hit enter to get the bootup to continue. I then get a login box for ron asking for password which I have to supply then hit enter to get the bootup to continue.
Has Automatic login been removed from LMDE2 ? If so, why do I still see it in System settings ? If not, how do I get it to work ?
Ron
In LMDE1 I had the system set to auto-login, that is System settings-Administration-Login window-Login window preferences with Auto login set to Automatic login for user ron. As far as I can see, if I go through the same dialog on LMDE2 it is still set that way. HOWEVER it doesn't work, I no longer get an uninterrupted login process. When I boot LMDE2, first I get a Login box asking for a username,
UPDATE I have to enter ron as user name
and I have to hit enter to get the bootup to continue. I then get a login box for ron asking for password which I have to supply then hit enter to get the bootup to continue.
Has Automatic login been removed from LMDE2 ? If so, why do I still see it in System settings ? If not, how do I get it to work ?
Ron
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Automatic login does not work with LMDE2 UPDATED
I set Automatic login off and rebooted. Interestingly, the new login was faster as I was not presented with the first dialog box to specify username, just the second dialog box to specify password for username ron. So I set Automatic login on again and rebooted. This time, it did perform Automatic login.
UPDATE But when I powered on this morning, it's back to the 2 dialog boxes.
Somehow in the upgrade from LMDE1 to LMDE2 something related to Automatic login gets screwed up.
UPDATE and it does not appear to be consistent
I suppose I'll have to mark this thread as SOLVED
UPDATE I've removed the SOLVED because there is definitely a bug, at least on my system
UPDATE Is there a specific package that supports automatic login ? If so, I'll remove it and re-install
Ron
UPDATE But when I powered on this morning, it's back to the 2 dialog boxes.
Somehow in the upgrade from LMDE1 to LMDE2 something related to Automatic login gets screwed up.
UPDATE and it does not appear to be consistent
I suppose I'll have to mark this thread as SOLVED
UPDATE I've removed the SOLVED because there is definitely a bug, at least on my system
UPDATE Is there a specific package that supports automatic login ? If so, I'll remove it and re-install
Ron
Re: Automatic login does not work with LMDE2
As best I can determine, automatic login in LMDE1 and LMDE2 is handled by the MDM package.
I've looked at /etc/mdm/mdm.conf on both my LMDE1 system and on my LMDE2 system. They both contain the following
A difference between the systems is the level of the MDM package
- LMDE1 the MDM package is at level 1.4.11+lmde and automatic login does work
- LMDE2 the MDM package is at level 2.0.4+betsy and automatic login does NOT work at least for me
What would be the consequences of removing and reinstalling the MDM package ? If it's going to give me grief, I'll hold off for a while in the hope someone can come up with a solution to my problem.
Ron
I've looked at /etc/mdm/mdm.conf on both my LMDE1 system and on my LMDE2 system. They both contain the following
Code: Select all
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=ron
- LMDE1 the MDM package is at level 1.4.11+lmde and automatic login does work
- LMDE2 the MDM package is at level 2.0.4+betsy and automatic login does NOT work at least for me
What would be the consequences of removing and reinstalling the MDM package ? If it's going to give me grief, I'll hold off for a while in the hope someone can come up with a solution to my problem.
Ron
display metaquestion
@forumadmins (since this probably won't help ron_h much): I notice that
(Note that I'm not claiming ron_h's question should necessarily be relocated--it definitely seems upgrade-related.)
- there is a subforum=Desktops & Window Managers of the LMDE1 forums
- there is no matching subforum for the LMDE2 forums
(Note that I'm not claiming ron_h's question should necessarily be relocated--it definitely seems upgrade-related.)
Re: Automatic login does not work with LMDE2
Something is definitely screwed up.
This morning I booted up the LMDE2 system, and autologin worked. So I shut the system down making no changes of any kind and rebooted. This time I had the 2 dialog boxes and had to specify my user name and password, autologin did not work. I'm just shutting it down again to see what happens third time this morning. Please note I am shutting down, not restarting, in each case. Third time I get the 2 dialog boxes that is it didn't autologin.
Ron
This morning I booted up the LMDE2 system, and autologin worked. So I shut the system down making no changes of any kind and rebooted. This time I had the 2 dialog boxes and had to specify my user name and password, autologin did not work. I'm just shutting it down again to see what happens third time this morning. Please note I am shutting down, not restarting, in each case. Third time I get the 2 dialog boxes that is it didn't autologin.
Ron
boottime debugging
Does or show anything interesting?
Code: Select all
dmesg | fgrep -ie 'error'
Code: Select all
dmesg | less
Re: Automatic login does not work with LMDE2
Code: Select all
dmesg | fgrep -ie 'error'
Code: Select all
[ 11.340956] Error: Driver 'pcspkr' is already registered, aborting...
[ 20.087915] EXT4-fs (sda8): re-mounted. Opts: errors=remount-ro
[ 50.436132] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 1, found 0)
Code: Select all
dmesg | less
Ron
Re: Automatic login does not work with LMDE2
The only mention of user ron in dmesg is :
Ron
Code: Select all
In dmesg when username and password required in bootup
[ 40.588310] systemd-logind[2891]: New seat seat0.
[ 40.616910] systemd-logind[2891]: Failed to start user service: Unknown unit: user@1000.service
[ 40.629608] systemd-logind[2891]: New session c1 of user ron.
In dmesg when bootup does not require username and password
[ 40.262632] systemd-logind[2815]: New seat seat0.
[ 40.312557] systemd-logind[2815]: Failed to start user service: Unknown unit: user@1000.service
[ 40.326060] systemd-logind[2815]: New session c1 of user ron.
Re: Automatic login does not work with LMDE2
I really don't like intermittent faults. The last 4 or 5 times I've booted the LMDE2 system, automatic login has worked each time. And AFAIK, I have changed nothing. Previous to this, automatic login worked about 1 time in 3.
Ron
Ron
Re: Automatic login does not work with LMDE2
The last 5 times I've booted, no auto login. Had to specify user name and password each time. No changes made to the system.
Ron
Ron
Re: Automatic login does not work with LMDE2
Well, I booted LMDE2 from a USB stick, and auto-login worked fine for user 'mint'.
Ron
Ron
Re: Automatic login does not work with LMDE2
Continuing problem, as of this date.......Solutions???
Re: Automatic login does not work with LMDE2
Have you tried: Menu/ Administration/Login Window then on left panel click Auto Login, then make sure Enable Auto Login is checked, and your user name appears in the box below.
Re: Automatic login does not work with LMDE2
I don't know about the OP but the obvious is not my nature.Crewp wrote:Have you tried: Menu/ Administration/Login Window then on left panel click Auto Login, then make sure Enable Auto Login is checked, and your user name appears in the box below.
Actually that only worked about half the time for me. My method was to edit the "daemon" section of /etc/mdm/mdm.conf , as root after making a backup.