Login screen always asks for username aside the password

In 15.6 if just creating one default user apart from root itself, like recommended, the login screen automatically took the username and just asked for the password to log in.

Now in 16.0 it asks for both username and password to log in.

Can this behavior be changed to mirror the previous 15.6 one?

Which DE are you using?

Desktop environment is XFCE

And are you using LightDM as the login manager?

I’m using all defaults!
I’m getting just questions instead of help…

I’m confident no one in this forum is standing behind you, looking at your screen. :+1:

Keep in mind … folks ask questions because of a lack of information, such as your first post. This isn’t ‘Paid For Product Support’. It’s a community of folks spending their time to assist others.

We’re not asking questions for the sake of it. We’re not sitting over your shoulder, and we can’t assume you’re using the same DE or display manager as us. We need some basic information about your setup before we can give you a meaningful answer rather than guess!

Yes, sorry.
Well, the login manager installed with XFCE desktop was greetd instead of lightdm.

That may simply be the default behaviour of greetd, and it is the backend, relying on front-end greeters for its actual UI. I don’t use that login manager. LightDM might be better for your needs.

Anyway, the relevant configuration file is /etc/greetd/config.toml. That will show us how it is configured and which front end is in use.

1 Like

I have the same problem. The /etc/greetd/config.toml only shows

[default_session]
command = “cage -s – /usr/bin/gtkgreet”
user = “greeter”

How do I change it to LoghtDM?

J.

You’d need to install lightdm first with sudo zypper in lightdm

Then

sudo systemctl disable greetd
sudo systemctl enable lightdm

and reboot.

I tried the above suggestion and there was then no graphical login, ie only a text based login and a text screen. I reversed the order of the commands and graphics has returned but obviously with the greetd greater and also need for the username.

j

AFAIK, update-alternatives ist still available on Leap 16.0 (not only until 15.6).

You may have a look at https://en.opensuse.org/SDB:Change_Display_Manager for changing the DM.

But yes, just to confirm this: since 16.0 greetd and gtkgreeter is the new default for Xfce (now Wayland instead of X11) which has been LightDM before. (I also had to note this…)

The documentation suggests that ligtdm may not run with Wayland, the default display- is this correct? I am obviously uneasy running some command which stops the login screen working and finding I cannot get back to a working system.

Using --force in the command may not be a good idea.

j

ctrl+alt+F1 will get you to a tty to login and sort things out…

With respect, it would be better not to have to ‘sort things out’ if someone knows that that light dm cannot work . …

Or, perhaps what to do?

j

I don’t, desktops auto login here, I do use gdm and click the username if I need to log out log in, else just boots to multi-user.target (a tty), for Hyprland, that’s the login screen :wink:

Some folks are happy when usernames are displayed/populated some are not…

Many of these changes and alterations for Leap 16.0 were over two years ago now, if your really serious, then I suggest testing Leap 16.1 and see if it’s changed there or create a bug report since this has a month or so before release.

Thanks your comments. I’ll sit back for now and see if anyone else jumps in with helpfull comments.

J

So there is lightdm-gtk-greeter and lightdm-slick-greeter have you tried them both?

Due to https://github.com/ubuntu/lightdm/blob/main/README.md LightDM should also cope with Wayland:

Key features of LightDM are:

  • Cross-desktop - supports different desktop technologies (X, Wayland, Mir, etc)

Supposedly, (almost) every DM should run (almost) every DE. But that is somehow theoretical. In fact, all DE bring their own default DM along. Some DM do work cross-DE better, some less. (There recently was a thread about SDDM (KDE) and GDM (GNOME)…)