Re: [Tails-dev] ***SPAM*** Re: ***SPAM*** [gsoc] tails-greet…

Delete this message

Reply to this message
Author: bertagaz
Date:  
To: The Tails public development discussion list, govnototalitarizm
New-Topics: [Tails-dev] ***SPAM*** Re: ***SPAM*** Re: ***SPAM*** [gsoc]tails-greeter update
Subject: Re: [Tails-dev] ***SPAM*** Re: ***SPAM*** [gsoc] tails-greeter update
Hi Max,

Nice to see new commits! Comments below:

On Mon, Aug 08, 2011 at 05:29:14PM +0800, † wrote:
> And another update - a bit quicker than I've expected :)
>
> Layout selection is now working for both greeter and gnome session.
> However it's been tested mostly with English and Русский, so if you'd like to see
> YOUR favorite keyboard layout properly supported than please test it and get back
> with the feedback.
>
> The layout indicator question is still under investigation.


I'm not sure what you mean by that. Testing it I have several issues :

* When choosing the French language, the locale form get updated
correctly, and I can choose between fr_BE, fr_FR, etc. Still the
keyboard layout selection form only show the "be" and "us" layouts. I
guess it is what your last sentence is related to.

* Choosing the "be" keyboard layout doesn't actually change the keyboard
layout in the greeter itself. It is applied in the GNOME session
though.

I have attached the greeter logs. I'll give it a closer look too.

Nice to see the greeter going forward. :)

bert.
gnome-session[1599]: atk-bridge-WARNING: AT_SPI_REGISTRY was not started at session startup.
gnome-session[1599]: atk-bridge-WARNING: IOR not set.
gnome-session[1599]: atk-bridge-WARNING: Could not locate registry
** (<unknown>:1609): DEBUG: Client registered with session manager: /org/gnome/SessionManager/Client1
Window manager warning: Failed to read saved session file /var/lib/gdm3/.config/metacity/sessions/109521db6f30dedb20131280189947977700000015990004.ms: Failed to open file '/var/lib/gdm3/.config/metacity/sessions/109521db6f30dedb20131280189947977700000015990004.ms': No such file or directory

(polkit-gnome-authentication-agent-1:1638): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'

(polkit-gnome-authentication-agent-1:1638): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
[WARNING] pixmap.py:65 get_pixmap: No pixmap file 'default' in ./pixmaps/lang
[DEBUG] language.py:36 <module>: 234 languages found: helper returned 0
[ERROR] language.py:85 get_texts: Failed to get texts for hr locale
[ERROR] language.py:85 get_texts: Failed to get texts for ti locale
[ERROR] language.py:85 get_texts: Failed to get texts for si locale
[ERROR] language.py:85 get_texts: Failed to get texts for ja locale
[ERROR] language.py:85 get_texts: Failed to get texts for hy locale
[ERROR] language.py:85 get_texts: Failed to get texts for ko locale
[ERROR] language.py:85 get_texts: Failed to get texts for uz locale
[ERROR] language.py:85 get_texts: Failed to get texts for pa locale
[ERROR] language.py:85 get_texts: Failed to get texts for el locale
[ERROR] language.py:85 get_texts: Failed to get texts for be locale
[ERROR] language.py:85 get_texts: Failed to get texts for da locale
[ERROR] language.py:85 get_texts: Failed to get texts for ts locale
[ERROR] language.py:85 get_texts: Failed to get texts for ht locale
[ERROR] language.py:85 get_texts: Failed to get texts for kl locale
[ERROR] language.py:85 get_texts: Failed to get texts for shs locale
[ERROR] language.py:85 get_texts: Failed to get texts for fil locale
[ERROR] language.py:85 get_texts: Failed to get texts for am locale
[ERROR] language.py:85 get_texts: Failed to get texts for ta locale
[ERROR] language.py:85 get_texts: Failed to get texts for tig locale
[ERROR] language.py:85 get_texts: Failed to get texts for ar locale
[ERROR] language.py:85 get_texts: Failed to get texts for wa locale
[ERROR] language.py:85 get_texts: Failed to get texts for th locale
[ERROR] language.py:85 get_texts: Failed to get texts for pap locale
[ERROR] language.py:85 get_texts: Failed to get texts for hsb locale
[ERROR] language.py:85 get_texts: Failed to get texts for tg locale
[ERROR] language.py:85 get_texts: Failed to get texts for yi locale
[ERROR] language.py:85 get_texts: Failed to get texts for tk locale
[ERROR] language.py:85 get_texts: Failed to get texts for oc locale
[ERROR] language.py:85 get_texts: Failed to get texts for ky locale
[ERROR] language.py:85 get_texts: Failed to get texts for pt locale
[ERROR] language.py:85 get_texts: Failed to get texts for zu locale
[ERROR] language.py:85 get_texts: Failed to get texts for lg locale
[ERROR] language.py:85 get_texts: Failed to get texts for kw locale
[ERROR] language.py:85 get_texts: Failed to get texts for crh locale
[ERROR] language.py:85 get_texts: Failed to get texts for sd locale
[ERROR] language.py:85 get_texts: Failed to get texts for te locale
[ERROR] language.py:85 get_texts: Failed to get texts for bg locale
[ERROR] language.py:85 get_texts: Failed to get texts for gez locale
[ERROR] language.py:85 get_texts: Failed to get texts for id locale
[ERROR] language.py:85 get_texts: Failed to get texts for az locale
[ERROR] language.py:85 get_texts: Failed to get texts for an locale
[ERROR] language.py:85 get_texts: Failed to get texts for af locale
[ERROR] language.py:85 get_texts: Failed to get texts for mn locale
[ERROR] language.py:85 get_texts: Failed to get texts for dz locale
[ERROR] language.py:85 get_texts: Failed to get texts for sid locale
[ERROR] language.py:85 get_texts: Failed to get texts for dv locale
[ERROR] language.py:85 get_texts: Failed to get texts for as locale
[ERROR] language.py:85 get_texts: Failed to get texts for pl locale
[ERROR] language.py:85 get_texts: Failed to get texts for my locale
[ERROR] language.py:85 get_texts: Failed to get texts for tr locale
[ERROR] language.py:85 get_texts: Failed to get texts for et locale
[ERROR] language.py:85 get_texts: Failed to get texts for ro locale
[ERROR] language.py:85 get_texts: Failed to get texts for so locale
[ERROR] language.py:85 get_texts: Failed to get texts for lt locale
[ERROR] language.py:85 get_texts: Failed to get texts for vi locale
[ERROR] language.py:85 get_texts: Failed to get texts for cy locale
[ERROR] language.py:85 get_texts: Failed to get texts for iu locale
[ERROR] language.py:85 get_texts: Failed to get texts for tt locale
[ERROR] language.py:85 get_texts: Failed to get texts for wo locale
[ERROR] language.py:85 get_texts: Failed to get texts for xh locale
[ERROR] language.py:85 get_texts: Failed to get texts for fur locale
[ERROR] language.py:85 get_texts: Failed to get texts for bs locale
[ERROR] language.py:85 get_texts: Failed to get texts for ve locale
[ERROR] language.py:85 get_texts: Failed to get texts for br locale
[ERROR] language.py:85 get_texts: Failed to get texts for gl locale
[ERROR] language.py:85 get_texts: Failed to get texts for gd locale
[ERROR] language.py:85 get_texts: Failed to get texts for ps locale
[ERROR] language.py:85 get_texts: Failed to get texts for hu locale
[ERROR] language.py:85 get_texts: Failed to get texts for ik locale
[ERROR] language.py:85 get_texts: Failed to get texts for ne locale
[ERROR] language.py:85 get_texts: Failed to get texts for ml locale
[ERROR] language.py:85 get_texts: Failed to get texts for csb locale
[ERROR] language.py:85 get_texts: Failed to get texts for kk locale
[ERROR] language.py:85 get_texts: Failed to get texts for mg locale
[ERROR] language.py:85 get_texts: Failed to get texts for pa locale
[ERROR] language.py:85 get_texts: Failed to get texts for mi locale
[ERROR] language.py:85 get_texts: Failed to get texts for yo locale
[ERROR] language.py:85 get_texts: Failed to get texts for is locale
[ERROR] language.py:85 get_texts: Failed to get texts for ig locale
[ERROR] language.py:85 get_texts: Failed to get texts for sr locale
[ERROR] language.py:85 get_texts: Failed to get texts for kn locale
[ERROR] language.py:85 get_texts: Failed to get texts for gv locale
[ERROR] language.py:85 get_texts: Failed to get texts for uk locale
[ERROR] language.py:85 get_texts: Failed to get texts for ks locale
[ERROR] language.py:85 get_texts: Failed to get texts for lv locale
[ERROR] language.py:85 get_texts: Failed to get texts for ka locale
[ERROR] language.py:85 get_texts: Failed to get texts for fi locale
[ERROR] language.py:85 get_texts: Failed to get texts for ca locale
[ERROR] language.py:85 get_texts: Failed to get texts for hi locale
[ERROR] language.py:85 get_texts: Failed to get texts for aa locale
[ERROR] language.py:85 get_texts: Failed to get texts for ha locale
[ERROR] language.py:85 get_texts: Failed to get texts for sk locale
[ERROR] language.py:85 get_texts: Failed to get texts for st locale
[ERROR] language.py:85 get_texts: Failed to get texts for fa locale
[ERROR] language.py:85 get_texts: Failed to get texts for sl locale
[ERROR] language.py:85 get_texts: Failed to get texts for de locale
[ERROR] language.py:85 get_texts: Failed to get texts for sv locale
[ERROR] language.py:85 get_texts: Failed to get texts for it locale
[ERROR] language.py:85 get_texts: Failed to get texts for fo locale
[ERROR] language.py:85 get_texts: Failed to get texts for om locale
[ERROR] language.py:85 get_texts: Failed to get texts for mr locale
[ERROR] language.py:85 get_texts: Failed to get texts for km locale
[ERROR] language.py:85 get_texts: Failed to get texts for mk locale
[ERROR] language.py:85 get_texts: Failed to get texts for sq locale
[ERROR] language.py:85 get_texts: Failed to get texts for bo locale
[ERROR] language.py:85 get_texts: Failed to get texts for se locale
[ERROR] language.py:85 get_texts: Failed to get texts for eu locale
[ERROR] language.py:85 get_texts: Failed to get texts for ug locale
[ERROR] language.py:85 get_texts: Failed to get texts for mt locale
[ERROR] language.py:85 get_texts: Failed to get texts for mai locale
[ERROR] language.py:85 get_texts: Failed to get texts for sc locale
[ERROR] language.py:85 get_texts: Failed to get texts for fy locale
[ERROR] language.py:85 get_texts: Failed to get texts for tl locale
[ERROR] language.py:85 get_texts: Failed to get texts for ss locale
[ERROR] language.py:85 get_texts: Failed to get texts for he locale
[ERROR] language.py:85 get_texts: Failed to get texts for sa locale
[ERROR] language.py:85 get_texts: Failed to get texts for bn locale
[ERROR] language.py:85 get_texts: Failed to get texts for nb locale
[ERROR] language.py:85 get_texts: Failed to get texts for lo locale
[ERROR] language.py:85 get_texts: Failed to get texts for nso locale
[ERROR] language.py:85 get_texts: Failed to get texts for li locale
[ERROR] language.py:85 get_texts: Failed to get texts for ga locale
[ERROR] language.py:85 get_texts: Failed to get texts for or locale
[ERROR] language.py:85 get_texts: Failed to get texts for nds locale
[ERROR] language.py:85 get_texts: Failed to get texts for ku locale
[ERROR] language.py:85 get_texts: Failed to get texts for zh locale
[ERROR] language.py:85 get_texts: Failed to get texts for hne locale
[ERROR] language.py:85 get_texts: Failed to get texts for tn locale
[ERROR] language.py:85 get_texts: Failed to get texts for ast locale
[ERROR] language.py:85 get_texts: Failed to get texts for gu locale
[ERROR] language.py:85 get_texts: Failed to get texts for nr locale
[ERROR] language.py:85 get_texts: Failed to get texts for ur locale
[ERROR] language.py:85 get_texts: Failed to get texts for sr locale
[ERROR] language.py:85 get_texts: Failed to get texts for nn locale
[ERROR] language.py:85 get_texts: Failed to get texts for rw locale
[ERROR] language.py:85 get_texts: Failed to get texts for byn locale
[ERROR] language.py:85 get_texts: Failed to get texts for ber locale
[ERROR] language.py:85 get_texts: Failed to get texts for cs locale
[INFO] community-greeter.py:174 <module>: Started.
[DEBUG] main.py:103 init_gui: Adding window autologin to GtkApp
[DEBUG] main.py:103 init_gui: Adding window langpanel to GtkApp
[DEBUG] services.py:79 __init__: Connected to Greeter-Service on unix:abstract=/tmp/gdm-greeter-ENDTqVuI,guid=a50f79a5e6842a9131de643d0000000e
[ERROR] proxies.py:400 _introspect_error_handler: Introspect error on org.gnome.DisplayManager.GreeterServer:/org/gnome/DisplayManager/GreeterServer: dbus.exceptions.IntrospectionParserException: Error parsing introspect data: <class 'xml.parsers.expat.ExpatError'>: mismatched tag: line 75, column 4
[DEBUG] proxies.py:403 _introspect_error_handler: Executing introspect queue due to error
[DEBUG] main.py:114 load_window: Loading 'langpanel' from {'autologin': <class 'GdmGreeter.autologin.AutologinWindow'>, 'langpanel': <class 'GdmGreeter.langpanel.LangPanel'>}
[DEBUG] services.py:91 SelectLanguage: Setting language to aa_DJ.UTF-8
[DEBUG] langpanel.py:57 populate_locale_variant: layout is dj
[DEBUG] langpanel.py:60 populate_locale_variant: added layout dj
[DEBUG] langpanel.py:63 populate_locale_variant: options set to ['grp:alt_shift_toggle']
Error:            Can't find file "dj" for symbols include
                  Exiting
                  Abandoning symbols file "(null)"
[1312801907,000,xklavier_config_xkb.c:xkl_config_get_keyboard/]     Could not load /usr/bin/xkbcomp output as XKM file, got 127 (asked 127)
[DEBUG] langpanel.py:90 layout_selected: obtained layout us
[DEBUG] langpanel.py:92 layout_selected: setting layout us
[DEBUG] services.py:96 SelectLayout: Setting layout to us
[DEBUG] langpanel.py:119 translate_to: translating to en
[DEBUG] services.py:104 Ready: GdmServer is Ready
[WARNING] community-greeter.py:96 Ready: server is ready.
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:Ready()
[DEBUG] community-greeter.py:125 DefaultLanguageNameChanged: DefaultLanguageNameChanged to en_US.UTF-8
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:DefaultLanguageNameChanged(dbus.String(u'en_US.UTF-8'),)
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1e00003 (community-)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
[DEBUG] community-greeter.py:130 DefaultLayoutNameChanged: DefaultLayoutNameChanged to us
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:DefaultLayoutNameChanged(dbus.String(u'us'),)
[DEBUG] community-greeter.py:135 DefaultSessionNameChanged: DefaultSessionNameChanged to default
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:DefaultSessionNameChanged(dbus.String(u'default'),)
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:InfoQuery(dbus.String(u'Username:'),)
[DEBUG] langpanel.py:119 translate_to: translating to fr
[DEBUG] services.py:91 SelectLanguage: Setting language to fr_BE.UTF-8
[DEBUG] langpanel.py:90 layout_selected: obtained layout None
[DEBUG] langpanel.py:90 layout_selected: obtained layout None
[DEBUG] langpanel.py:57 populate_locale_variant: layout is be
[DEBUG] langpanel.py:60 populate_locale_variant: added layout be
[DEBUG] langpanel.py:63 populate_locale_variant: options set to ['grp:alt_shift_toggle']
[DEBUG] langpanel.py:90 layout_selected: obtained layout us
[DEBUG] langpanel.py:92 layout_selected: setting layout us
[DEBUG] services.py:96 SelectLayout: Setting layout to us
[DEBUG] langpanel.py:90 layout_selected: obtained layout be
[DEBUG] langpanel.py:92 layout_selected: setting layout be
[DEBUG] services.py:96 SelectLayout: Setting layout to be
[DEBUG] langpanel.py:90 layout_selected: obtained layout us
[DEBUG] langpanel.py:92 layout_selected: setting layout us
[DEBUG] services.py:96 SelectLayout: Setting layout to us
[DEBUG] langpanel.py:90 layout_selected: obtained layout be
[DEBUG] langpanel.py:92 layout_selected: setting layout be
[DEBUG] services.py:96 SelectLayout: Setting layout to be
[DEBUG] langpanel.py:109 button_clicked: panel button clicked
[DEBUG] langpanel.py:119 translate_to: translating to fr
[DEBUG] services.py:91 SelectLanguage: Setting language to fr_BE.UTF-8
[DEBUG] langpanel.py:119 translate_to: translating to fr
[DEBUG] services.py:91 SelectLanguage: Setting language to fr_FR.UTF-8
[DEBUG] community-greeter.py:103 SwitchVisibility: locale fr_FR written to /var/lib/gdm3/tails.locale
[DEBUG] community-greeter.py:104 SwitchVisibility: loading login
[DEBUG] main.py:114 load_window: Loading 'autologin' from {'autologin': <class 'GdmGreeter.autologin.AutologinWindow'>, 'langpanel': <class 'GdmGreeter.langpanel.LangPanel'>}
[DEBUG] window.py:110 destroy: Destroying Window langpanel
[DEBUG] window.py:136 exit: Removing Window langpanel from parent
[DEBUG] autologin.py:62 show_user: show user called with Username:
[WARNING] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:SelectedUserChanged(dbus.String(u'amnesia'),)
[DEBUG] community-greeter.py:125 DefaultLanguageNameChanged: DefaultLanguageNameChanged to en_US.UTF-8
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:DefaultLanguageNameChanged(dbus.String(u'en_US.UTF-8'),)
[DEBUG] community-greeter.py:130 DefaultLayoutNameChanged: DefaultLayoutNameChanged to us
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:DefaultLayoutNameChanged(dbus.String(u'us'),)
[DEBUG] community-greeter.py:135 DefaultSessionNameChanged: DefaultSessionNameChanged to default
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:DefaultSessionNameChanged(dbus.String(u'default'),)
[DEBUG] community-greeter.py:125 DefaultLanguageNameChanged: DefaultLanguageNameChanged to fr_FR.UTF8
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:DefaultLanguageNameChanged(dbus.String(u'fr_FR.UTF8'),)
[DEBUG] autologin.py:67 show_pass: show pass called with Password: 
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:SecretInfoQuery(dbus.String(u'Password: '),)
[DEBUG] community-greeter.py:125 DefaultLanguageNameChanged: DefaultLanguageNameChanged to fr_BE.UTF8
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:DefaultLanguageNameChanged(dbus.String(u'fr_BE.UTF8'),)
[DEBUG] community-greeter.py:130 DefaultLayoutNameChanged: DefaultLayoutNameChanged to be
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:DefaultLayoutNameChanged(dbus.String(u'be'),)
[DEBUG] community-greeter.py:130 DefaultLayoutNameChanged: DefaultLayoutNameChanged to us
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:DefaultLayoutNameChanged(dbus.String(u'us'),)
[DEBUG] community-greeter.py:130 DefaultLayoutNameChanged: DefaultLayoutNameChanged to be
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:DefaultLayoutNameChanged(dbus.String(u'be'),)
[DEBUG] community-greeter.py:125 DefaultLanguageNameChanged: DefaultLanguageNameChanged to fr_FR.UTF8
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:DefaultLanguageNameChanged(dbus.String(u'fr_FR.UTF8'),)
[DEBUG] community-greeter.py:169 FinishProcess: password written to /var/lib/gdm3/tails.password
[INFO] community-greeter.py:170 FinishProcess: Finished.
[DEBUG] services.py:66 got_signal: org.gnome.DisplayManager.GreeterServer:UserAuthorized()


(gnome-power-manager:1633): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

** (gnome-power-manager:1633): WARNING **: Failed to send buffer

(gnome-power-manager:1633): atk-bridge-WARNING **: AT_SPI_REGISTRY was not started at session startup.

(gnome-power-manager:1633): atk-bridge-WARNING **: IOR not set.

(gnome-power-manager:1633): atk-bridge-WARNING **: AT_SPI_REGISTRY was not started at session startup.

(gnome-power-manager:1633): atk-bridge-WARNING **: IOR not set.

(polkit-gnome-authentication-agent-1:1638): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in

(gnome-settings-daemon:1612): atk-bridge-WARNING **: AT_SPI_REGISTRY was not started at session startup.

(gnome-settings-daemon:1612): atk-bridge-WARNING **: IOR not set.

(polkit-gnome-authentication-agent-1:1638): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in

(polkit-gnome-authentication-agent-1:1638): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in

(polkit-gnome-authentication-agent-1:1638): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in

(polkit-gnome-authentication-agent-1:1638): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in

(polkit-gnome-authentication-agent-1:1638): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in

(polkit-gnome-authentication-agent-1:1638): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in

(polkit-gnome-authentication-agent-1:1638): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: Remote Exception invoking org.freedesktop.PolicyKit1.Authority.EnumerateTemporaryAuthorizations() on /org/freedesktop/PolicyKit1/Authority at name org.freedesktop.PolicyKit1: org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in