FS#43999 - [lightdm-gtk-greeter] white screen after upgrading

Attached to Project: Community Packages
Opened by abc (Xiflite) - Sunday, 01 March 2015, 16:42 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 21 May 2015, 13:50 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After upgrading no login possible. Only a white/grey screen appears.

Additional info:
Version: 1:2.0.0-1
Config: plain as provided by the package


Steps to reproduce:
Upgrade to 1:2.0.0-1
restart lightdm
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Thursday, 21 May 2015, 13:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.0.1
Comment by andrew (andrew_the_p) - Monday, 02 March 2015, 06:37 GMT
Please, provide more info:
1. Add this option to greeter config:
allow-debugging=true
2. Run lightdm again.
3. Post /var/log/lightdm/x-*-greeter.log (the newest one)
Comment by abc (Xiflite) - Monday, 02 March 2015, 16:34 GMT
The log.

Edit: Sorry, attaching file does not work (it says uploading but no attachment shows up). So here a paste:

DEBUG-Message: Connecting to display manager...
DEBUG-Message: Wrote 22 bytes to daemon
DEBUG-Message: Read 8 bytes from daemon
DEBUG-Message: Read 152 bytes from daemon
DEBUG-Message: Connected version=1.12.2 default-session=default show-manual-login=false hide-users=false has-guest-account=false show-remote-login=true
DEBUG-Message: Default Gtk+ theme is 'Adwaita'
DEBUG-Message: Default theme is 'Adwaita'
DEBUG-Message: [PIDs] Command executed (#4435): /usr/lib/at-spi2-core/at-spi-bus-launcher

** (lightdm-gtk-greeter:4432): WARNING **: [PIDs] Failed to execute command: upstart
DEBUG-Message: Loaded session /usr/share/xsessions/xfce.desktop (Xfce-Sitzung, Diese Sitzung auswählen, um Xfce als Ihre Arbeitsumgebung zu starten)
DEBUG-Message: Monitor configuration found: '*'
DEBUG-Message: [Background] Connecting to screen: 0xf800d0
DEBUG-Message: [Background] Monitors found: 2
DEBUG-Message: [Background] Monitor: DP2 #0 (1920x1200 at 0x0) primary
DEBUG-Message: [Background] No configuration options for monitor DP2 #0, using default
DEBUG-Message: [Background] Monitor: DP3 #1 (1920x1200 at 0x0)
DEBUG-Message: [Background] No configuration options for monitor DP3 #1, using default
DEBUG-Message: [Background] Pointer position will be used to set active monitor: 960x600
DEBUG-Message: [Background] Active monitor changed to: DP2 #0

** (lightdm-gtk-greeter:4432): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
DEBUG-Message: Loading user config from /etc/lightdm/users.conf
DEBUG-Message: User john added
DEBUG-Message: Loading sessions from org.freedesktop.DisplayManager
DEBUG-Message: Starting authentication for user john...
DEBUG-Message: Wrote 24 bytes to daemon
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: Read 8 bytes from daemon
DEBUG-Message: Read 38 bytes from daemon
DEBUG-Message: Prompt user with 1 message(s)
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0

About 20000 lines of monitor changes after this - nothing interesting.
Comment by andrew (andrew_the_p) - Monday, 02 March 2015, 17:59 GMT
Ok, looks familiar. Can you build greeter using this launchpad branch?
https://code.launchpad.net/~kalgasnik/lightdm-gtk-greeter/post-2.0.0
Or I'll provide PKGBUILD, but not now.

As temporal solution - add this option to .conf and describe the results:
active-monitor=0
Comment by abc (Xiflite) - Monday, 02 March 2015, 18:58 GMT
active-monitor=0

fixes the problem. I am now building the post-2.0.0 branch.
Comment by abc (Xiflite) - Monday, 02 March 2015, 19:51 GMT
post-2.0.0 does not fix the problem. Still get a blank screen.
Comment by andrew (andrew_the_p) - Monday, 02 March 2015, 20:34 GMT
Log file?
Comment by abc (Xiflite) - Monday, 02 March 2015, 21:36 GMT
Same as above (millions of "Active monitor changed"). active-monitor=0 fixes this again but I think that the fix should be provided in the source...?
Comment by abc (Xiflite) - Monday, 02 March 2015, 21:59 GMT
This is the PKGBUILD which I have used to build the post-2.0.0 version.
Comment by andrew (andrew_the_p) - Tuesday, 03 March 2015, 07:09 GMT
The log must be a bit different this time. Please, post it to figure out what is going wrong.
Comment by abc (Xiflite) - Tuesday, 03 March 2015, 13:22 GMT
Ok. Here we go:
DEBUG-Message: Connecting to display manager...
DEBUG-Message: Wrote 22 bytes to daemon
DEBUG-Message: Read 8 bytes from daemon
DEBUG-Message: Read 152 bytes from daemon
DEBUG-Message: Connected version=1.12.2 default-session=default show-manual-login=false hide-users=false has-guest-account=false show-remote-login=true
DEBUG-Message: Default Gtk+ theme is 'Adwaita'
DEBUG-Message: Using icon theme elementary-xfce
DEBUG-Message: Default theme is 'elementary-xfce'
DEBUG-Message: Using font Oxygen 10
DEBUG-Message: [PIDs] Command executed (#2058): /usr/lib/at-spi2-core/at-spi-bus-launcher

** (lightdm-gtk-greeter:2055): WARNING **: [PIDs] Failed to execute command: upstart
DEBUG-Message: Loaded session /usr/share/xsessions/xfce.desktop (Xfce-Sitzung, Diese Sitzung auswählen, um Xfce als Ihre Arbeitsumgebung zu starten)
DEBUG-Message: Monitor configuration found: '*'
DEBUG-Message: [Background] Connecting to screen: 0x1f6a0d0
DEBUG-Message: [Background] Monitors found: 2
DEBUG-Message: [Background] Monitor: DP2 #0 (1920x1200 at 0x0) primary
DEBUG-Message: [Background] No configuration options for monitor DP2 #0, using default
DEBUG-Message: [Background] Monitor: DP3 #1 (1920x1200 at 0x0)
DEBUG-Message: [Background] No configuration options for monitor DP3 #1, using default
DEBUG-Message: [Background] Pointer position will be used to set active monitor: 960x600
DEBUG-Message: [Background] Active monitor changed to: DP2 #0

** (lightdm-gtk-greeter:2055): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
DEBUG-Message: Loading user config from /etc/lightdm/users.conf
DEBUG-Message: User john added
DEBUG-Message: Loading sessions from org.freedesktop.DisplayManager
DEBUG-Message: Starting authentication for user john...
DEBUG-Message: Wrote 24 bytes to daemon
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: Read 8 bytes from daemon
DEBUG-Message: Read 38 bytes from daemon
DEBUG-Message: Prompt user with 1 message(s)
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
DEBUG-Message: [Background] Active monitor changed to: DP3 #1
DEBUG-Message: [Background] Active monitor changed to: DP2 #0
.
.
.
(original log size: 3.4 MB)
Comment by andrew (andrew_the_p) - Tuesday, 03 March 2015, 22:03 GMT
This log file isn't produced by new version.
> [Background] Connecting to screen: 0x1f6a0d0
In new version it looks like:
> [Background] Connecting to screen: 0x24ce0d0 (1366x768px, 361x203mm)

1. It's old log file.
or
2. You're still running old greeter version (PKGBUILD is valid).
Comment by abc (Xiflite) - Tuesday, 03 March 2015, 23:27 GMT
Layer 8 problem. Thought, that makepkg -c would cleanup the buildenv. It does, but not for the bzr repo.
Cleaned everything up, rebuild and voilá, it seems to work now flawlessly without debug or active monitor set in the config.

Here is the log:
DEBUG-Message: Connecting to display manager...
DEBUG-Message: Wrote 22 bytes to daemon
DEBUG-Message: Read 8 bytes from daemon
DEBUG-Message: Read 152 bytes from daemon
DEBUG-Message: Connected version=1.12.2 default-session=default show-manual-login=false hide-users=false has-guest-account=false show-remote-login=true
DEBUG-Message: Default Gtk+ theme is 'Adwaita'
DEBUG-Message: Using icon theme elementary-xfce
DEBUG-Message: Default theme is 'elementary-xfce'
DEBUG-Message: Using font Oxygen 10
DEBUG-Message: [PIDs] Command executed (#28487): /usr/lib/at-spi2-core/at-spi-bus-launcher

** (lightdm-gtk-greeter:28484): WARNING **: [PIDs] Failed to execute command: upstart
DEBUG-Message: Loaded session /usr/share/xsessions/xfce.desktop (Xfce-Sitzung, Diese Sitzung auswählen, um Xfce als Ihre Arbeitsumgebung zu starten)
DEBUG-Message: Monitor configuration found: '*'
DEBUG-Message: [Background] Connecting to screen: 0x22e60d0 (1920x1200px, 508x317mm)
DEBUG-Message: [Background] Monitors found: 2
DEBUG-Message: [Background] Monitor: DP2 #0 (1920x1200 at 0x0) primary
DEBUG-Message: [Background] No configuration options for monitor DP2 #0, using default
DEBUG-Message: [Background] Monitor: DP3 #1 (1920x1200 at 0x0)
DEBUG-Message: [Background] No configuration options for monitor DP3 #1, using default
DEBUG-Message: [Background] Skipping monitor DP3 #1, its area is already used by other monitors
DEBUG-Message: [Background] Pointer position will be used to set active monitor: 960x600
DEBUG-Message: [Background] Active monitor changed to: DP2 #0

** (lightdm-gtk-greeter:28484): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
DEBUG-Message: Loading user config from /etc/lightdm/users.conf
DEBUG-Message: User john added
DEBUG-Message: Loading sessions from org.freedesktop.DisplayManager
DEBUG-Message: Starting authentication for user john...
DEBUG-Message: Wrote 24 bytes to daemon
DEBUG-Message: Read 8 bytes from daemon
DEBUG-Message: Read 38 bytes from daemon
DEBUG-Message: Prompt user with 1 message(s)
Comment by andrew (andrew_the_p) - Wednesday, 04 March 2015, 06:17 GMT
I hope this fix will be merged to trunk branch soon, but I don't know how soon 2.0.1 will be released.
Comment by abc (Xiflite) - Thursday, 05 March 2015, 11:42 GMT
In the meantime we may use a patch...?
Comment by Christian Hesse (eworm) - Thursday, 05 March 2015, 14:49 GMT
Prepared a patch for PKGBUILD.

This is just the patch from launchpad, use at your own risk.
Comment by Maxime Gauduin (Alucryd) - Friday, 06 March 2015, 09:51 GMT
Thx for all the input and the patch guys, I will use it once the changes have been merged in trunk. In the meantime, I'd rather have people use active-monitor. Added an entry in the wiki: https://wiki.archlinux.org/index.php/LightDM#White_screen_after_upgrading_the_GTK_greeter_to_2.0.0
Comment by Luca Steinke (phre4k) - Thursday, 07 May 2015, 20:59 GMT
Now for me it's a black instead of a white screen (was black before, latest upgrade changed it?).

The workaround isn't really a solution for me since I have multiple monitor setups in multiple environments.

Can I help with something to include the patch in the main repo?
Comment by Maxime Gauduin (Alucryd) - Saturday, 09 May 2015, 09:57 GMT
The patch isn't going to be included until upstream approves of it. In the meantime, you can patch the current PKGBUILD with the diff Christian provided above.

Loading...