Comment 36 for bug 1512002

Alkis Georgopoulos (alkisg) wrote :

Here's another way to reproduce it:

<install openssh-server>
$ ssh -X localhost
$ /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
$ dbus-send --system --print-reply=literal --dest=org.freedesktop.Accounts /org/freedesktop/Accounts/User1001 org.freedesktop.Accounts.User.SetXHasMessages boolean:true

It doesn't make sense to have the user authenticate himself just to tell him he has new mail.
This affects gnome-screensaver, lightdm's user switching ability, X2go, LTSP etc.

Please replace the "auth_self" with "yes" as in the provided patch.