View previous topic :: View next topic |
Author |
Message |
Alan Turing n00b
Joined: 10 Sep 2003 Posts: 53 Location: Freiburg, Baden (Germany)
|
Posted: Wed Dec 05, 2012 2:43 am Post subject: Annoying Login Confirmation in KDM [Solved] |
|
|
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
Quote: |
matthias wird angemeldet
Last login: Sun Nov 25 11:59:32 CET 2012 on 0
|
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 |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Wed Dec 05, 2012 3:08 am Post subject: |
|
|
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 |
|
Back to top |
|
|
Alan Turing n00b
Joined: 10 Sep 2003 Posts: 53 Location: Freiburg, Baden (Germany)
|
Posted: Thu Dec 06, 2012 1:50 am Post subject: Re: Annoying Login Confirmation |
|
|
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.
The annoying message still appears. |
|
Back to top |
|
|
ataraxia n00b
Joined: 04 Dec 2012 Posts: 2 Location: Pittsburgh
|
Posted: Thu Dec 06, 2012 4:21 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
|
Back to top |
|
|
Alan Turing n00b
Joined: 10 Sep 2003 Posts: 53 Location: Freiburg, Baden (Germany)
|
Posted: Sat Dec 08, 2012 1:26 am Post subject: |
|
|
ataraxia wrote: |
I suggest you try removing the "session optional pam_lastlog.so" line from /etc/pam.d/system-login. |
Thank you! That worked for me. (And according to the bug report, I guess an update of pambase kdebase-pam also does) |
|
Back to top |
|
|
mounty1 l33t
Joined: 06 Jul 2006 Posts: 934 Location: Queensland
|
Posted: Fri May 17, 2013 9:18 pm Post subject: |
|
|
ataraxia wrote: | I suggest you try removing the "session optional pam_lastlog.so" line from /etc/pam.d/system-login. | Brilliant, fixed it for me too.
If I wanted all that $@#&, I'd use Mess Windoze, FFS.
Please press [OK] to confirm that you have read this message. _________________ Michael Mounteney |
|
Back to top |
|
|
gcasillo l33t
Joined: 23 Sep 2003 Posts: 739 Location: Cincinnati, Ohio, USA
|
Posted: Thu May 23, 2013 8:01 pm Post subject: |
|
|
Thank you for posting this. VERY annoying dialog box that I am happy to get rid of. |
|
Back to top |
|
|
ashdash n00b
Joined: 27 Oct 2008 Posts: 18 Location: Auckland, New Zealand
|
Posted: Tue Jan 07, 2014 2:17 am Post subject: |
|
|
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:
session optional pam_lastlog.so silent
So "silent" will turn the dialogue off.
Thanks! |
|
Back to top |
|
|
|