Package: lightdm-gtk-greeter Version: 1.8.3-1 Followup-For: Bug #741236 I thought I'd add one more information point to this bug, i.e. a full backtrace with debug symbols. I can confirm that sending USR1 to the hanging gtk-greeter (pid 2922 from the backtrace below) causes lightdm to continue the login process and allows the session manager to start.
I'm also attaching the lightdm logs, as they look interesting to me. The greeter.log shows gtk-critical errors for pid 2922, and lightdm.log shows PAM authentication errors at +111, although I don't remember mistyping my password (faulty soft-memory perhaps). At +1061 is where I sent the USR1 signal to gtk-greeter. Just in case it's relevant: no systemd on this box, also no libpam-systemd. There is -login0 and -journal0, just because they make dbus happy. Full backtrace follows. Regards, Arno Script started on Tue 08 Apr 2014 19:09:24 CEST GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1) Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/sbin/lightdm-gtk-greeter...(no debugging symbols found)...done. Attaching to program: /usr/sbin/lightdm-gtk-greeter, process 2922 [.. snip missing .dbg files ..] warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff6819a000 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 135 ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such file or directory. (gdb) thr ap a bt Thread 3 (Thread 0x7fbd91de7700 (LWP 2940)): #0 0x00007fbda5cdc72d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fbda675e814 in g_main_context_poll (priority=2147483647, n_fds=3, fds=0x7fbd8c0010c0, timeout=-1, context=0x7fbda95c2dd0) at /tmp/buildd/glib2.0-2.38.2/./glib/gmain.c:4007 #2 g_main_context_iterate (context=0x7fbda95c2dd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.38.2/./glib/gmain.c:3708 #3 0x00007fbda675eb3a in g_main_loop_run (loop=0x7fbda95c2cf0) at /tmp/buildd/glib2.0-2.38.2/./glib/gmain.c:3907 #4 0x00007fbda3d9dad6 in gdbus_shared_thread_func (user_data=0x7fbda95c2da0) at /tmp/buildd/glib2.0-2.38.2/./gio/gdbusprivate.c:278 #5 0x00007fbda6783095 in g_thread_proxy (data=0x7fbda8ac0190) at /tmp/buildd/glib2.0-2.38.2/./glib/gthread.c:798 #6 0x00007fbda5fb3062 in start_thread (arg=0x7fbd91de7700) at pthread_create.c:312 #7 0x00007fbda5ce7a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 2 (Thread 0x7fbd90b86700 (LWP 2941)): #0 0x00007fbda5cdc72d in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fbda675e814 in g_main_context_poll (priority=2147483647, n_fds=2, fds=0x7fbd840008c0, timeout=-1, context=0x7fbda95c2270) at /tmp/buildd/glib2.0-2.38.2/./glib/gmain.c:4007 #2 g_main_context_iterate (context=context@entry=0x7fbda95c2270, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.38.2/./glib/gmain.c:3708 #3 0x00007fbda675e91c in g_main_context_iteration (context=0x7fbda95c2270, may_block=may_block@entry=1) at /tmp/buildd/glib2.0-2.38.2/./glib/gmain.c:3774 #4 0x00007fbda675e959 in glib_worker_main (data=<optimized out>) at /tmp/buildd/glib2.0-2.38.2/./glib/gmain.c:5486 #5 0x00007fbda6783095 in g_thread_proxy (data=0x7fbda94ebed0) at /tmp/buildd/glib2.0-2.38.2/./glib/gthread.c:798 #6 0x00007fbda5fb3062 in start_thread (arg=0x7fbd90b86700) at pthread_create.c:312 #7 0x00007fbda5ce7a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 Thread 1 (Thread 0x7fbda7d47980 (LWP 2922)): #0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135 #1 0x00007fbda5fb549d in _L_lock_1086 () from /lib/x86_64-linux-gnu/libpthread.so.0 #2 0x00007fbda5fb5417 in __GI___pthread_mutex_lock (mutex=0x7fbda8ad65d0) at ../nptl/pthread_mutex_lock.c:134 #3 0x00007fbda679e321 in g_mutex_lock (mutex=<optimized out>) at /tmp/buildd/glib2.0-2.38.2/./glib/gthread-posix.c:213 #4 0x00007fbda675ec2b in g_main_loop_quit (loop=0x7fbda95a0340) at /tmp/buildd/glib2.0-2.38.2/./glib/gmain.c:3932 #5 <signal handler called> #6 0x00007fbda675e6a3 in g_main_dispatch (context=0x7fbda8ad6510) at /tmp/buildd/glib2.0-2.38.2/./glib/gmain.c:3082 #7 g_main_context_dispatch (context=context@entry=0x7fbda8ad6510) at /tmp/buildd/glib2.0-2.38.2/./glib/gmain.c:3642 #8 0x00007fbda675e878 in g_main_context_iterate (context=0x7fbda8ad6510, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.38.2/./glib/gmain.c:3713 #9 0x00007fbda675eb3a in g_main_loop_run (loop=0x7fbda95a0340) at /tmp/buildd/glib2.0-2.38.2/./glib/gmain.c:3907 #10 0x00007fbda75f85a5 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 #11 0x00007fbda7d935be in main () -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (900, 'stable'), (300, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lightdm-gtk-greeter depends on: ii libc6 2.18-4 ii libcairo2 1.12.16-2 ii libgdk-pixbuf2.0-0 2.30.6-1 ii libglib2.0-0 2.38.2-5 ii libgtk-3-0 3.10.7-1 ii liblightdm-gobject-1-0 1.8.8-1 ii libx11-6 2:1.6.2-1 Versions of packages lightdm-gtk-greeter recommends: ii desktop-base 7.0.3 ii gnome-icon-theme-symbolic 3.12.0-1 ii gnome-themes-standard 3.10.0-2 ii policykit-1 0.105-4 lightdm-gtk-greeter suggests no packages. -- no debconf information
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log [+0.00s] DEBUG: Starting Light Display Manager 1.8.8, UID=0 PID=2764 [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/01_debian.conf [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager [+0.02s] DEBUG: Registered seat module xlocal [+0.02s] DEBUG: Registered seat module xremote [+0.02s] DEBUG: Registered seat module unity [+0.02s] DEBUG: Registered seat module surfaceflinger [+0.02s] DEBUG: Adding default seat [+0.02s] DEBUG: Seat: Starting [+0.02s] DEBUG: Seat: Creating greeter session [+0.03s] DEBUG: Seat: Setting XDG_SEAT=seat0 [+0.03s] DEBUG: Seat: Creating display server of type x [+0.03s] DEBUG: Seat: Starting local X display [+0.03s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory) [+0.03s] DEBUG: Using VT 7 [+0.03s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log [+0.03s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0 [+0.03s] DEBUG: DisplayServer x-0: Launching X Server [+0.03s] DEBUG: Launching process 2824: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch [+0.03s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0 [+0.05s] DEBUG: Acquired bus name org.freedesktop.DisplayManager [+0.05s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0 [+1.46s] DEBUG: Got signal 10 from process 2824 [+1.46s] DEBUG: DisplayServer x-0: Got signal from X server :0 [+1.46s] DEBUG: DisplayServer x-0: Connecting to XServer :0 [+1.46s] DEBUG: Seat: Display server ready, starting session authentication [+1.46s] DEBUG: Session: Setting XDG_VTNR=7 [+1.46s] DEBUG: Session pid=2840: Started with service 'lightdm-greeter', username 'lightdm' [+1.51s] DEBUG: Session pid=2840: Authentication complete with return value 0: Success [+1.51s] DEBUG: Seat: Session authenticated, running command [+1.51s] DEBUG: Session pid=2840: Setting XDG_VTNR=7 [+1.51s] DEBUG: Session pid=2840: Running command /usr/sbin/lightdm-gtk-greeter [+1.52s] DEBUG: org.freedesktop.Accounts does not exist, falling back to passwd file [+1.52s] DEBUG: Session pid=2840: Logging to /var/log/lightdm/x-0-greeter.log [+1.93s] DEBUG: Activating VT 7 [+2.55s] DEBUG: Session pid=2840: Greeter connected version=1.8.8 [+5.27s] DEBUG: Session pid=2840: Greeter start authentication [+5.27s] DEBUG: Seat: Setting XDG_SEAT=seat0 [+5.27s] DEBUG: Session: Setting XDG_VTNR=7 [+5.27s] DEBUG: Session pid=2939: Started with service 'lightdm', username '(null)' [+5.31s] DEBUG: Session pid=2939: Got 1 message(s) from PAM [+5.31s] DEBUG: Session pid=2840: Prompt greeter with 1 message(s) [+111.79s] DEBUG: Session pid=2840: Greeter start authentication for aschuring [+111.79s] DEBUG: Session pid=2939: Sending SIGTERM [+111.79s] DEBUG: Seat: Setting XDG_SEAT=seat0 [+111.79s] DEBUG: Session: Setting XDG_VTNR=7 [+111.79s] DEBUG: Session pid=2943: Started with service 'lightdm', username 'aschuring' [+111.79s] DEBUG: Session pid=2939: Terminated with signal 15 [+111.79s] DEBUG: Session: Failed during authentication [+111.79s] DEBUG: Seat: Session stopped [+111.82s] DEBUG: Session pid=2943: Got 1 message(s) from PAM [+111.82s] DEBUG: Session pid=2840: Prompt greeter with 1 message(s) [+113.33s] DEBUG: Session pid=2840: Continue authentication [+113.65s] DEBUG: Session pid=2943: Authentication complete with return value 0: Success [+113.65s] DEBUG: Session pid=2840: Authenticate result for user aschuring: Success [+113.66s] DEBUG: Session pid=2840: User aschuring authorized [+113.66s] DEBUG: Session pid=2840: Greeter sets language en_GB.utf8 [+113.67s] DEBUG: Writing /home/aschuring/.dmrc [+113.70s] DEBUG: Session pid=2840: Greeter requests session xmonad [+113.73s] DEBUG: Writing /home/aschuring/.dmrc [+113.75s] DEBUG: Seat: Stopping greeter; display server will be re-used for user session [+113.75s] DEBUG: Session pid=2840: Sending SIGTERM [+1061.15s] DEBUG: Session pid=2840: Greeter closed communication channel [+1061.15s] DEBUG: Session pid=2840: Exited with return value 10 [+1061.15s] DEBUG: Seat: Session stopped [+1061.15s] DEBUG: Seat: Greeter stopped, running session [+1061.15s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0 [+1061.15s] DEBUG: Session pid=2943: Setting XDG_VTNR=7 [+1061.15s] DEBUG: Session pid=2943: Running command /etc/X11/Xsession xmonad [+1061.15s] DEBUG: Session pid=2943: Logging to .xsession-errors [+1061.24s] DEBUG: Activating VT 7
x-0-greeter.log
Description: application/elc
X.Org X Server 1.15.0.901 (1.15.1 RC 1) Release Date: 2014-03-21 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.12-1-amd64 x86_64 Debian Current Operating System: Linux murid 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 Kernel command line: vmlinuz-3.13-1-amd64 ro root=/dev/mapper/murid-root quiet splash initrd=\initrd.img-3.13-1-amd64 Build Date: 31 March 2014 10:25:32AM xorg-server 2:1.15.0.901-1 (http://www.debian.org/support) Current version of pixman: 0.32.4 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 8 18:52:14 2014 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" Initializing built-in extension Generic Event Extension Initializing built-in extension SHAPE Initializing built-in extension MIT-SHM Initializing built-in extension XInputExtension Initializing built-in extension XTEST Initializing built-in extension BIG-REQUESTS Initializing built-in extension SYNC Initializing built-in extension XKEYBOARD Initializing built-in extension XC-MISC Initializing built-in extension SECURITY Initializing built-in extension XINERAMA Initializing built-in extension XFIXES Initializing built-in extension RENDER Initializing built-in extension RANDR Initializing built-in extension COMPOSITE Initializing built-in extension DAMAGE Initializing built-in extension MIT-SCREEN-SAVER Initializing built-in extension DOUBLE-BUFFER Initializing built-in extension RECORD Initializing built-in extension DPMS Initializing built-in extension Present Initializing built-in extension DRI3 Initializing built-in extension X-Resource Initializing built-in extension XVideo Initializing built-in extension XVideo-MotionCompensation Initializing built-in extension SELinux Initializing built-in extension XFree86-VidModeExtension Initializing built-in extension XFree86-DGA Initializing built-in extension XFree86-DRI Initializing built-in extension DRI2 Loading extension GLX (II) [KMS] Kernel modesetting enabled. The XKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Symbol map for key <RALT> redefined > Using last definition for conflicting fields > Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols > Ignoring extra symbols Errors from xkbcomp are not fatal to the X server (II) AIGLX: Suspending AIGLX clients for VT switch setversion 1.4 failed: Permission denied (II) AIGLX: Suspending AIGLX clients for VT switch (II) AIGLX: Suspending AIGLX clients for VT switch