Configuring login screen in ubuntu mate 24.04

HI! everybody!

I´m new here and first of all I want to give all my appreciation to the people here that dedicate time and knowledge to help the others

I have an odroid XU4 where I install the official version of ubuntu mate 24.04 for it and successfully joined to my windows active directory domain

when I´m logged in I can switch to any AD user I want and it´s OK

but when I log off or restart the system in the login screen I get the list of any user that I logged before, local or AD users and no choice to log in with a non previous user

what am I want to accomplish?

well, I want to configure the login screen so that it shows only the last logged user and the choice to log in with a different local or AD user

many thanks in advance

Samh

1 Like

Your computer only knows what it has been registered for.

You must register users/groups using one of the following:

  • sudo   realm permit 'username',       or

  • sudo   realm permit --groups 'groupname'

1 Like

Hi, @elpillo0807 and welcome to the Ubuntu MATE Community!

thank you for the fast response

I will do that, I think it solves a part of the problem, once I do that all included users will be able to login

but, how can I hide all user names in the login screen except the last one and how do I enable the ‘other user’ option so that any of the registered users can type their username and password without having to scroll the screen up or down

thanks again

samh

Not exactly what you are looking for, but it is the closest that you will get.

If you use LightDM, which itself uses the Slick-Greeter, then the following might be workable for you.

slick-greeter options

File: /etc/lightdm/slick-greeter.conf

hidden-users=
List of usernames that are hidden until a special key combination is hit

group-filter=
List of groups that users must be part of to be shown (empty list shows all users)

I think the "group-filter" option is the one that would work best for your needs.



LightDM itself has a special configuration related to users, but I don't know how to set that up.

To get the details and determine if that would be applicable to you, perform a search in Google with the following entry:

lightdm 	configure	/etc/lightdm/users.conf
2 Likes

I´m not using lightDM but I will try it, I will keep posting

many thanks