OK the problem seems to be going towards mir after all, when we're getting the trust session, the PID returned for it is unity8's PID instead of the prompt:
From a slightly modified qtmir [1], unity8.log:
[...] [2016-58-07:16:58:49.950] qtmir.surfaces: Session[0x137ef60,name="system-settings"]::insertChildSession(index=0, Session[0x1943450,name="online-accounts-ui",pid=20604]) [...]
$ ps aux | grep 20604 phablet 20604 48.9 5.7 602596 158828 ? Ssl 16:58 0:17 unity8 --mode=full-greeter
$ ps aux | grep accounts phablet 22808 2.4 4.4 680020 122144 ? Sl 16:58 0:02 /usr/bin/online-accounts-ui --socket /run/user/32011/online-accounts-ui/ui-1-google --profile unconfined
[1] http://paste.ubuntu.com/18707159/
OK the problem seems to be going towards mir after all, when we're getting the trust session, the PID returned for it is unity8's PID instead of the prompt:
From a slightly modified qtmir [1], unity8.log:
[...] 07:16:58: 49.950] qtmir.surfaces: Session[ 0x137ef60, name="system- settings" ]::insertChildS ession( index=0, Session[ 0x1943450, name="online- accounts- ui",pid= 20604])
[2016-58-
[...]
$ ps aux | grep 20604
phablet 20604 48.9 5.7 602596 158828 ? Ssl 16:58 0:17 unity8 --mode=full-greeter
$ ps aux | grep accounts online- accounts- ui --socket /run/user/ 32011/online- accounts- ui/ui-1- google --profile unconfined
phablet 22808 2.4 4.4 680020 122144 ? Sl 16:58 0:02 /usr/bin/
[1] http:// paste.ubuntu. com/18707159/