Hi everybody, this is my first message and, referring to the object, please I want to know how to definitely delete the request for input (click, or press enter) after setted the autologin on my account, with ubuntu this doesn't happen, with MATE yes, if it is possible to enter directly to the system it would be a perfect thing!!
Thank you in advance for a reply.
I'm not sure which version of Ubuntu MATE you're talking about; you didn't make it clear. Depending on the version of Ubuntu MATE in use, different "greeters" are used, and some greeters have certain strengths and all of them have negative points.
One thing that I do know is that consistently, among all greeters, the "hands-free autologin" feature only works when you first boot up the computer; once you log out, the computer will not immediately log you back in as yourself again. You must give user input at that point.
However, I do know that my favorite greeter, lightdm-gtk-greeter
, will log you in as yourself automatically (and hands-free) when you boot up, if you configure it properly. Let's install it, assuming it's not already installed (I think it's installed by default on 18.04 and earlier but not 20.04 or newer -- I think):
sudo apt install lightdm-gtk-greeter
Then set the greeter as the default -- assuming it wasn't already the default:
sudo update-alternatives --set lightdm-greeter /usr/share/xgreeters/lightdm-gtk-greeter.desktop
Now, configure the greeter for autologin. Open the lightdm
configuration file:
sudo pluma /etc/lightdm/lightdm.conf
In the text editor that pops up, make sure that the following settings are not commented out (preceded by a pound sign, #
) and are set to the following values (with the exception of [username]
, see below):
autologin-guest=false
autologin-user=[username]
autologin-user-timeout=0
autologin-in-background=false
**Replace [username]
with the short name of the user whom you'd like to log in as automatically. If you don't know what that name is, type this command at the terminal and it'll tell you:
whoami
The name should be lowercase letters (no capital letters); if you get any capital letters in the name, you've got the wrong name.
All of the settings above are important to set to those exact values. If you do not, the autologin will not work.
I hope that works for you. Good luck! Tell us if you have more issues.
Thank you gordon for reply, I talk about ubuntu-mate-21.10-desktop-amd64 , tried as you suggested but I have been forced to delete on virtual machine the entire OS because MATE did not start anymore with GUI, no problem, already reinstalled on vmware and patience, I will click or press a key to go on.
Well... that was a little rash to just trash everything just because one suggestion I made didn't work as I planned. I was going to have you look at the "logfiles" to see what went wrong, but we can't really do that now that you eliminated your entire Ubuntu MATE installation!
If you still want to have hands-free autologin, search for autologin-guest
in the above-mentioned configuration file first, then change the parameters nearby to the values I stated above. Also, this time, see if you can make it work without bothering to install lightdm-gtk-greeter
.
If you run into problems, please do not panic and reinstall immediately; please press Ctrl-Alt-F1 and log in at the prompt that (should) appear immediately after that. Then you can ask for more help and run further commands to help troubleshoot the problem.
Best regards!