GNOME Bugzilla – Bug 726813
Autologin is broken
Last modified: 2014-03-21 20:01:12 UTC
AutologinLogin is broken on https://git.gnome.org/browse/gdm/commit/?id=9f0402c0 (3.11.92.1) - Gnome-shell is throwing an exception: Gjs-Message: JS LOG: GNOME Shell started at Fri Mar 21 2014 10:46:39 GMT+0000 (G (gnome-shell:1384): Gjs-WARNING **: JS ERROR: Exception in callback for signal: startup-prepared: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method OpenSession is not implemented on interface org.gnome.DisplayManager.Manager LoginDialog<._init@resource:///org/gnome/shell/gdm/loginDialog.js:375 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 _Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110 Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:20 ScreenShield<._ensureUnlockDialog@resource:///org/gnome/shell/ui/screenShield.js:919 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 ScreenShield<.showDialog@resource:///org/gnome/shell/ui/screenShield.js:919 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 _initializeUI/<@resource:///org/gnome/shell/ui/main.js:208 _emit@resource:///org/gnome/gjs/modules/signals.js:124 LayoutManager<._prepareStartupAnimation@resource:///org/gnome/shell/ui/layout.js wrapper@resource:///org/gnome/gjs/modules/lang.js:169 LayoutManager<._loadBackground/signalId<@resource:///org/gnome/shell/ui/layout.j _emit@resource:///org/gnome/gjs/modules/signals.js:124 SystemBackground<._init/<.onFinished<@resource:///org/gnome/shell/ui/background. BackgroundCache<._loadImageContent/<@resource:///org/gnome/shell/ui/background.j
Created attachment 272574 [details] [review] manager: wait until autologin is initiated before marking it so When the slave was merged to the main daemon process, the code for doing autologin accounting was accidentally moved earlier in the autologin process. This caused the greeter to create a login screen and do autologin at the same time. This commit defers the accounting until after the operation is fully initiated.
Created attachment 272577 [details] [review] manger: rename touch_marker_file to touch_ran_once_marker_file Rename this function to be more descriptive after some discussion with Matthias.
Attachment 272574 [details] pushed as 7140b96 - manager: wait until autologin is initiated before marking it so Attachment 272577 [details] pushed as ce94f53 - manger: rename touch_marker_file to touch_ran_once_marker_file
Thanks, fixed in master