You are not logged in.

#1 2012-10-15 07:00:38

jib2
Member
From: Paris, France
Registered: 2009-08-13
Posts: 95

KDM: "No mail" popup

Since last kdebase-workspace update (4.9.2-4), after entering username and password, I get a "No mail" popup. Kdm won't resume and start kde until I click on OK.
In kde config, I disabled every mail notification, with no effect.
For the moment, the only workaround was to disable postfix.service and delete /var/spool/mail/<username> (which I use only in local).
Thanks for your help.

Last edited by jib2 (2012-10-15 07:01:20)

Offline

#2 2012-10-15 13:04:25

JohannesE
Member
Registered: 2009-08-17
Posts: 22

Re: KDM: "No mail" popup

Since the last update of kdebase-workspace I'm having the same issue and I also get a (superfluous) message that my user is currently being logged in. The login procedure is delayed until I press OK.
screenshot
Does anyone know how to disable this?

Last edited by JohannesE (2012-10-15 13:05:32)

Offline

#3 2012-10-15 14:16:04

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,371

Re: KDM: "No mail" popup

Yes I am getting a popup saying "You have old mail" and the login will not continue unless I click "OK" in the popup window - pretty annoying and presumably a bug - not sure where best to send a bug report or if this is already known and being fixed?


Mike C

Offline

#4 2012-10-15 15:38:31

jib2
Member
From: Paris, France
Registered: 2009-08-13
Posts: 95

Re: KDM: "No mail" popup

Someone opened a bug : https://bugs.archlinux.org/task/31999

Please vote for this bug.

Last edited by jib2 (2012-10-15 15:42:02)

Offline

#5 2012-10-16 17:23:30

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,371

Re: KDM: "No mail" popup

There was a posting in the arch general mail list:

Pam is taking care of showing whether you have mail or not. In
/etc/pam.d/system-login, comment this line:

    session    optional   pam_mail.so          dir=/var/spool/mail standard

You should not get new mail prompts anymore.

This might resolve this issue?


Mike C

Offline

#6 2012-10-16 17:51:29

mcloaked
Member
From: Yorkshire, UK
Registered: 2012-02-02
Posts: 1,371

Re: KDM: "No mail" popup

mcloaked wrote:

There was a posting in the arch general mail list:

Pam is taking care of showing whether you have mail or not. In
/etc/pam.d/system-login, comment this line:

    session    optional   pam_mail.so          dir=/var/spool/mail standard

You should not get new mail prompts anymore.

This might resolve this issue?

This does fix the issue for me.


Mike C

Offline

#7 2012-12-23 14:04:25

Evilandi666
Member
Registered: 2010-10-28
Posts: 105

Re: KDM: "No mail" popup

JohannesE wrote:

Since the last update of kdebase-workspace I'm having the same issue and I also get a (superfluous) message that my user is currently being logged in. The login procedure is delayed until I press OK.
http://lpe-media.de/johannes/tmp/msg.jpg
Does anyone know how to disable this?

I have this on one of my machines.
Check /etc/motd. I don't know why, but on this machine it has an empty line in it, which is shown in the popup (but invisible).
Delete everything in /etc/motd (every new line)
or
comment out
session    optional   pam_motd.so          motd=/etc/motd
in /etc/pam.d/system-login

and your done.

Offline

#8 2013-01-07 15:00:26

Axanon
Member
From: Toronto
Registered: 2010-06-12
Posts: 53

Re: KDM: "No mail" popup

Rather than comment out the complete line:

session    optional   pam_mail.so          dir=/var/spool/mail standard

You can add 'quiet' to the end of it:

session    optional   pam_mail.so          dir=/var/spool/mail standard quiet

(see man pam_mail for more information)
No more "No Mail" popups when logging in!

Last edited by Axanon (2013-01-07 15:03:18)

Offline

Board footer

Powered by FluxBB