Page 1 of 1

Wrong password windows

PostPosted: Sep 25th, '13, 05:20
by janpihlgren
Now and then I have this window popping up on my desktop.
[img]
http://beezon.se/image/wrong-password.png
[/img]
The messages say "The password you give is invalid. Try again", "Try again"
The only way to get rid of the window is to click at the down arrow. To click att the button "Stäng" (Close) doesn't help.
Neighter to click att "X" (Close) will get the window to respons.
After a while it pops up again. It's annoying.
I can't find out what's triggering the window to pop up.

Is there anyone that have any hint of what's going on?

Re: Wrong password windows

PostPosted: Sep 25th, '13, 10:29
by doktor5000
Is it the same issue as described here? viewtopic.php?f=8&t=5447

Re: Wrong password windows

PostPosted: Sep 25th, '13, 12:25
by janpihlgren
Yes, i appears to be the same bug.
I upgrade to Mageia 3 in september 22 and than it begun. It's a little bit annoying.

Re: Wrong password windows

PostPosted: Sep 25th, '13, 18:36
by doktor5000
Does it also happen for freshly created users?

Re: Wrong password windows

PostPosted: Sep 26th, '13, 03:49
by janpihlgren
doktor5000 wrote:Does it also happen for freshly created users?

Yes, it does.
I just register a new user and after logged in as the new user the windows appear.

Re: Wrong password windows

PostPosted: Sep 26th, '13, 11:08
by doktor5000
A way to find out what's going wrong could be to run mgaapplet, which seems to cause the regular password popus, under strace, like so:

Code: Select all
strace -f -o output.log mgaapplet

Then wad through the output, but it will be really long and needs some experience, but it's not that difficult.


A workaround could be to disable mgaapplet asking for the password at all via draksec ...

Re: Wrong password windows

PostPosted: Sep 26th, '13, 17:51
by janpihlgren
The outputfile get big, 1,2 MB.
Now I'm quit sure the window is sent by the mgaapplet. But I don't know what's trigger it.
When I try to start the Networkcenter I get the same window and the Networkcenter doesn't oppen.
To open the Networkcenter I have to go through MCC (and log in as root).
Maybe the problem depends on some bug related to the Networkcenter.
doktor5000 wrote:A way to find out what's going wrong could be to run mgaapplet, which seems to cause the regular password popus, under strace, like so:

Code: Select all
strace -f -o output.log mgaapplet

Then wad through the output, but it will be really long and needs some experience, but it's not that difficult.


A workaround could be to disable mgaapplet asking for the password at all via draksec ...

In draksec the networcenter is set to "no password"
Roaming wifi is set to "Root password"

Re: Wrong password windows

PostPosted: Sep 26th, '13, 23:05
by doktor5000
No, the bug is about userhelper and policykit, which is responsible for showing the small dialog prompting for the root password.

At the time your start some tool which would produce such a password dialog and says wrong password, you might want to have a look in parallel for the logs, check via
Code: Select all
journalctl -a -f --no-pager
as root before you start, and via
Code: Select all
tailf /home/username/.xsession-errors
if you can see something

Re: Wrong password windows

PostPosted: Sep 26th, '13, 23:46
by janpihlgren
This is the output:
jan@Humlan ~]$ tailf /home/jan/.xsession-errors
file:///usr/share/apps/plasma/plasmoids/org.kde.notifications/contents/ui/main.qml:139:9: QML Flickable: Möjlig förankringssnurra detekterad vid ifyllnad.
kmix(7182) sink_input_cb: Ignoring sink-input due to it being designated as an event and thus handled by the Event slider
kded(7054)/kmix sink_input_cb: Ignoring sink-input due to it being designated as an event and thus handled by the Event slider
kmix(7182) sink_input_cb: Ignoring sink-input due to it being designated as an event and thus handled by the Event slider
kded(7054)/kmix sink_input_cb: Ignoring sink-input due to it being designated as an event and thus handled by the Event slider
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x7e00013
QClipboard::setData: Cannot set X11 selection owner for PRIMARY
konsole(7244) Konsole::Session::run: Attempted to re-run an already running session.
plasma-desktop(7124)/plasma StatusNotifierItemSource::refreshCallback: DBusMenu disabled for this application


I don't understand the messages.

Re: Wrong password windows

PostPosted: Sep 27th, '13, 12:13
by doktor5000
There's nothing about either policykit or userhelper or authentication. What about journalctl output?

Re: Wrong password windows

PostPosted: Sep 27th, '13, 12:29
by janpihlgren
Here is the output:
[root@Humlan jan]# journalctl -a -f --no-pager
-- Logs begin at Sat, 2013-09-21 09:31:29 CEST. --
Sep 26 23:27:16 Humlan dbus[4287]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Sep 26 23:30:01 Humlan crond[26207]: pam_tcb(crond:session): Session opened for root by root(uid=0)
Sep 26 23:30:01 Humlan CROND[26208]: (root) CMD ( /usr/share/sshd-monitor/sshd-restarter)
Sep 26 23:30:01 Humlan CROND[26207]: pam_tcb(crond:session): Session closed for root
Sep 26 23:33:16 Humlan dbus-daemon[4287]: dbus[4287]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Sep 26 23:33:16 Humlan dbus[4287]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Sep 26 23:33:16 Humlan dbus-daemon[4287]: dbus[4287]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Sep 26 23:33:16 Humlan dbus[4287]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Sep 26 23:33:50 Humlan su[27784]: pam_tcb(su:session): Session opened for root by jan(uid=10001)
Sep 26 23:35:01 Humlan crond[28322]: pam_tcb(crond:session): Session opened for root by root(uid=0)
Sep 26 23:35:01 Humlan CROND[28323]: (root) CMD ( /usr/share/sshd-monitor/sshd-restarter)
Sep 26 23:35:01 Humlan CROND[28322]: pam_tcb(crond:session): Session closed for root
Sep 26 23:39:01 Humlan crond[29901]: pam_tcb(crond:session): Session opened for root by root(uid=0)
Sep 26 23:39:01 Humlan CROND[29902]: (root) CMD ([ -d /var/lib/php ] && find /var/lib/php/ -type f -depth -mindepth 1 -maxdepth 1 -mmin +$(/usr/lib64/php/maxlifetime) -print0 | xargs -r -0 rm)
Sep 26 23:39:01 Humlan CROND[29901]: pam_tcb(crond:session): Session closed for root
Sep 26 23:39:16 Humlan dbus-daemon[4287]: dbus[4287]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Sep 26 23:39:16 Humlan dbus[4287]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Sep 26 23:39:16 Humlan dbus-daemon[4287]: dbus[4287]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Sep 26 23:39:16 Humlan dbus[4287]: [system] Successfully activated service 'org.freedesktop.PackageKit'

Do you know what's wrong?

Re: Wrong password windows

PostPosted: Sep 27th, '13, 13:18
by doktor5000
But, at what time did you launch a tool which would produce "wrong password" notice?

Re: Wrong password windows

PostPosted: Sep 27th, '13, 13:31
by janpihlgren
The two commands was created at the same time.
First: journalctl -a -f --no-pager
Second: tailf /home/jan/.xsession-errors

Re: Wrong password windows

PostPosted: Sep 27th, '13, 15:45
by doktor5000
Maybe you didn't understand the question. The journalctl ouput contains log entries from 23:27 to 23:39. Within those 12 minutes,
near to which timestamp did you launch some tool which produced a "wrong password" dialog ?

janpihlgren wrote:Sep 26 23:27:16 Humlan dbus[4287]: [system] Successfully activated service 'org.freedesktop.PackageKit'
[...]
Sep 26 23:39:16 Humlan dbus[4287]: [system] Successfully activated service 'org.freedesktop.PackageKit'

Re: Wrong password windows

PostPosted: Sep 27th, '13, 16:07
by janpihlgren
I didn't launch any tool. The "wrong password" dialog apears spontaneous.

Re: Wrong password windows

PostPosted: Sep 27th, '13, 16:25
by doktor5000
janpihlgren wrote:Now I'm quit sure the window is sent by the mgaapplet. But I don't know what's trigger it.

It's mgaapplet, it's launched every every 3 hours b y default as defined in /etc/sysconfig/mgaapplet, 5 minutes after login.

If you launch it manuallly, do you also get a "wrong password" dialog?

Re: Wrong password windows

PostPosted: Sep 27th, '13, 16:39
by janpihlgren
If I try to launch "Networkcenter" through the menu I get the t a "wrong password" dialog.
And just a few secunds ago the dialog appear.

Re: Wrong password windows

PostPosted: Sep 27th, '13, 17:23
by jiml8
From time to time I have had trouble with kwalletd, and I wind up with "invalid password" messages. Most of the time this is with kmail but I have seen it with other apps too.

I don't know what the problem is, and I won't say this problem is the same as the problem I have had. However, I have learned that killing and restarting kwalletd, and sometimes killing and restarting the akonadi server makes the problem go away. I have not seen this problem in quite awhile now; I was just assuming it was fixed by some update or another.

It is something to try, anyway.

Re: Wrong password windows

PostPosted: Sep 28th, '13, 01:52
by doktor5000
janpihlgren wrote:If I try to launch "Networkcenter" through the menu I get the t a "wrong password" dialog.
And just a few secunds ago the dialog appear.

Now if you can relate that to some log entry at that time, please post it. If not, can't really help you any further ...

Re: Wrong password windows

PostPosted: Sep 28th, '13, 05:24
by janpihlgren
The problem is that I don't know what's trigger the dialog and there is no info in the windowdialog that tell which program that activate it.
The only thing that not works correctly is when I try to open Networkcenter. When I do try to open Networkcenter from the menu the same "wrong password" dialog appears.
The only thing that differs is that efter a startup of the computer ther is a new number in the middle top, for the moment the number have rized to number 7.
So, for me it looks like that this has to do with some process runing in the background.
Well, if you have no idea of where to look I have to live with the dialog. :(