Currently, data/org.freedesktop.accounts.policy.in specifies that a user must be active in order to set his own data.
X2go, LTSP etc users are considered remote, i.e. inactive, and they are not allowed to change their own user data without authentication.
This results in a different behaviour when they e.g. try to change their language in the `gnome-control-center user-accounts`.
Furthermore, in some distributions it has been observed that change-own-user-data authentication dialogs popup when changing VTs or when switching users or sometimes even with just gnome-screensaver, possibly because the distribution is trying to update the user data (e.g. to notify the UI that he has new mails) when the user's vt was not active.
Therefore I'd like to ask you to consider setting <allow_inactive>yes</allow_inactive> for change-own-user-data.
Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1512002
Ubuntu ended up accepting this patch:
...so that it works both for inactive local sessions, and for remote sessions like LTSP/ssh.
Could you please merge it upstream, or comment if it's not appropriate for some reason?
seems okay to me.
can you attach a git formatted patch and i'll push it?
Created attachment 123943 [details] [review]
Allow remote/inactive users to change their own data.
I'm not very familiar with git, I hope the attached patch is OK.