I am using KDM 4.9.3. Since a few days (I don't know what I have changed) I get the following confirmation message after providing login information and pressing the enter button.
This screenshot shows a dialog box with an "ok" button and the following label

matthias is my user account, wird angemeldet is German and means is logging in

I do not want this login confirmation. It is annoying, I always have to press the "ok" button.
I do not know why the confirmation message is partly in German, I usually pick English to obtain searchable error messages.
The confirmation message appears independently of the window manager that I select.
The confirmation message does not appear if I create a fresh user.

I was not yet able to find out which configuration file is responsible for this confirmation message. Do you have an idea?

Last edited by Alan Turing on Sat Dec 08, 2012 1:26 am; edited 1 time in total

Did you set your default locales for the system with eselect? I think you can setup Kdm from the Kde system configuration graphical interface. There's probably a variable written in a configuration file of Kde that display this message. I think the best way is to try to deactivate it using the Kde gui. If it is not possible, you have to make a search in your home directory to find what is responsible of the message display. It can be in the ~/.config or ~/.kde directory or elsewhere._________________Paul

Thanks. I solved the language problem. German was the language of root in the kdm config.

The problem with the annoying message remains. I have not found anything related in kdm section of systemsettings (which is the KDE configuration graphical interface).

Alan Turing wrote:

The confirmation message does not appear if I create a fresh user.

I think this was a mistake. I again created a fresh user, this time the message appeared.

Furthermore:
I installed gdm. While using gdm this message does not appear.
I searched for kdm configuration files in the home directory of root but found none.
It seems that the behaviour of kdm is determined by the files in /usr/share/config/kdm and these files are updated when I configure kdm via systemsettings.
I deinstalled kdm, deleted remaining files in /usr/share/config/kdm and reinstalled kdm.

I think that message is caused by having pam_lastlog in the session stack for kdm, and the change that caused it is new support for it being added to KDE, upstream.

As I don't have KDE installed here, I'm not sure how PAM is configured for it out of the box, but I'd expect there's a "kdm" module in /etc/pam.d/ which eventually includes system-login. I suggest you try removing the "session optional pam_lastlog.so" line from /etc/pam.d/system-login. Other entries in that file that are likely to make annoying output are pam_motd and pam_mail, so you could remove them also if pam_lastlog isn't the problem.

Fixed here also. I had one machine that displayed the "Last Logged In" dialogue box and one that didn't. Once I knew where to look I found this entry in /etc/pam.d/system-login on the machine that didn't display the dialogue: