Auto-login to the Desktop

Sorry... It is the MATE version of User Manager.

It does not work.

I set it for automatic login. And I still have to enter my password.

I am open to any responses from the code writers of Ubuntu_Mate.

My understanding is the auto-login does not bypass your authentication password, it simply bypasses the Ubuntu login screen where you enter the user password and skips right to your desktop. You still need to authenticate with the superuser password once you reach the desktop.

It is important to note, the authenticating password is different from the user password, so while the Automatic Login is checked, that just means you do not have to enter your user password. If you want more info on the authenticator keyring, pls check this thread.

Just so it is clear, I would like to bypass it or it would briefly show itself.

If Automatic Login is selected in the MATE User Manager, then this screen will be bypassed. It may flash for a second depending on your system. Personally, I don't see it but I am running a 10th generation i5 with 16MB of ram. Regardless, it should bypass this screen and take you to the desktop. At that point, if there is a request to login, it is looking for your superuser or SUDO password. During installation, you may have used the same password for the user name and the SUDO, but they are different.

Why are you using this? MATE desktop is not using gnome-session. While this may still work for historical reasons, MATE has its own tool:

mate-session-save --help

What is in your lightdm config?

lightdm --show-config
3 Likes

WOW !!!

That is the best piece of information I have come across in ages! Thank you, @ironfoot .

For me, that reports the following:

   [Seat:*]
F  guest-wrapper=/usr/lib/lightdm/lightdm-guest-session
L  greeter-session=arctica-greeter
O  allow-guest=false
E  greeter-wrapper=/usr/lib/lightdm/lightdm-greeter-session
H  user-session=mate
I  xserver-command=X -core
K  type=xlocal
K  display-setup-script=/sbin/prime-offload
K  display-stopped-script=/sbin/prime-switch
N  greeter-show-manual-login=false
L  greeter-show-remote-login=true
M  greeter-allow-guest=false

   [LightDM]
D  backup-logs=false
M  guest-account-script=arctica-greeter-guest-account-script

Sources:
A  /usr/share/lightdm/lightdm.conf.d/50-arctica-greeter-guest-wrapper.conf
B  /usr/share/lightdm/lightdm.conf.d/50-arctica-greeter.conf
C  /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
D  /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
E  /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
F  /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
G  /usr/share/lightdm/lightdm.conf.d/50-slick-greeter.conf
H  /usr/share/lightdm/lightdm.conf.d/50-ubuntu-mate.conf
I  /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
J  /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
K  /usr/share/lightdm/lightdm.conf.d/90-nvidia.conf
L  /etc/lightdm/lightdm.conf.d/90-arctica-greeter.conf
M  /etc/lightdm/lightdm.conf.d/91-arctica-greeter-guest-session.conf
N  /etc/lightdm/lightdm.conf.d/91-arctica-greeter-mate.conf
O  /etc/lightdm/lightdm.conf

2 Likes
/Downloads$ lightdm --show-config
   [Seat:*]
F  guest-wrapper=/usr/lib/lightdm/lightdm-guest-session
K  greeter-session=arctica-greeter
E  greeter-wrapper=/usr/lib/lightdm/lightdm-greeter-session
L  allow-guest=true
G  user-session=mate
H  xserver-command=X -core
I  type=xlocal
I  display-setup-script=/sbin/prime-offload
I  display-stopped-script=/sbin/prime-switch
O  autologin-user=andy
M  greeter-show-manual-login=false
K  greeter-show-remote-login=true
L  greeter-allow-guest=true
O  autologin-guest=false
O  autologin-user-timeout=0

   [LightDM]
D  backup-logs=false
L  guest-account-script=arctica-greeter-guest-account-script

Sources:
A  /usr/share/lightdm/lightdm.conf.d/50-arctica-greeter-guest-wrapper.conf
B  /usr/share/lightdm/lightdm.conf.d/50-arctica-greeter.conf
C  /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
D  /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
E  /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
F  /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
G  /usr/share/lightdm/lightdm.conf.d/50-ubuntu-mate.conf
H  /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
I  /usr/share/lightdm/lightdm.conf.d/90-nvidia.conf
J  /etc/lightdm/lightdm.conf.d/12-autologin.conf
K  /etc/lightdm/lightdm.conf.d/90-arctica-greeter.conf
L  /etc/lightdm/lightdm.conf.d/91-arctica-greeter-guest-session.conf
M  /etc/lightdm/lightdm.conf.d/91-arctica-greeter-mate.conf
N  /etc/lightdm/lightdm.conf.d/autologin.conf
O  /etc/lightdm/lightdm.conf

Thanks, but it did not work.

1 Like

Well, your config looks ok for me. The autologin-user=andy entry is in the config.

I have a minimal working setup with autologin in a virtual machine with 24.04.

$ lightdm --show-config
   [Seat:*]
F  guest-wrapper=/usr/lib/lightdm/lightdm-guest-session
J  greeter-session=arctica-greeter
E  greeter-wrapper=/usr/lib/lightdm/lightdm-greeter-session
K  allow-guest=true
G  user-session=mate
H  xserver-command=X -core
I  type=xlocal
I  display-setup-script=/sbin/prime-offload
I  display-stopped-script=/sbin/prime-switch
L  greeter-show-manual-login=false
J  greeter-show-remote-login=true
K  greeter-allow-guest=true
M  autologin-user=test

   [LightDM]
D  backup-logs=false
K  guest-account-script=arctica-greeter-guest-account-script

Sources:
A  /usr/share/lightdm/lightdm.conf.d/50-arctica-greeter-guest-wrapper.conf
B  /usr/share/lightdm/lightdm.conf.d/50-arctica-greeter.conf
C  /usr/share/lightdm/lightdm.conf.d/50-disable-guest.conf
D  /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
E  /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
F  /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
G  /usr/share/lightdm/lightdm.conf.d/50-ubuntu-mate.conf
H  /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
I  /usr/share/lightdm/lightdm.conf.d/90-nvidia.conf
J  /etc/lightdm/lightdm.conf.d/90-arctica-greeter.conf
K  /etc/lightdm/lightdm.conf.d/91-arctica-greeter-guest-session.conf
L  /etc/lightdm/lightdm.conf.d/91-arctica-greeter-mate.conf
M  /etc/lightdm/lightdm.conf

I have created a config file:

/etc/lightdm/lightdm.conf

Contents (for user test):

[Seat:*]
autologin-user=test
2 Likes

Here is mine. A few differences.
I will make changes to make it more like you are using.

[Seat:*]
autologin-guest=false
autologin-user=andy
autologin-user-timeout=0

[SeatDefaults]
autologin-user=andy
1 Like

[SeatDefaults] is deprecated, you can delete this section. But I see no problem in your config.

1 Like

Lightdm is a display manager (DM = Display Manager) and arctica-greeter, slick-greeter, lightdm-gtk-greeter are greeter modules for lightdm. Besides, plymouth has nothing to do with lightdm at all.

These are config files to use alternative greeters:

But you are not using them, because your lightdm config file shows:

So, you are using the arctica-greeter.

The leading capital letter indicates the corresponding config file. You can edit this file.

2 Likes