FS#68791 - lightdm-pantheon-greeter utterly broken

Attached to Project: Community Packages
Opened by mkkot (mkkot) - Sunday, 29 November 2020, 15:23 GMT
Last edited by Toolybird (Toolybird) - Sunday, 07 May 2023, 02:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

So I installed lightdm-pantheon-greeter package. Then I changed /etc/lightdm/lightdm.conf:

[Seat:*]
greeter-session = io.elementary.greeter
greeter-hide-users = False

(it would be great to fix wiki in that regards, there is still lightdm-pantheon-greeter mentioned for the greeter-session in the config file)

Result:
Black screen with one of the PC users name visible in grey font with password prompt. I can scroll right and by doing that I can tell there are 3 more users. One of them has also password prompt. But I can't see the names of them. No avatars, no widgets, no nothing. Once I was able to see the clock at the top but I don't know how I did that.

/var/log/lightdm/seat0-greeter.log says that this file is missing:

/usr/share/backgrounds/elementaryos-default

I tried to edit /etc/lightdm/io.elementary.greeter.conf:
[greeter]
default-wallpaper=/usr/share/backgrounds/xfce/xfce-stripes.png

but it just ignored my change.

The greeter log also says it's trying to open some background files from user's directory:
BackgroundImage.vala:18: Opening file „/home/mk/.local/share/backgrounds/IMG_20190702_180143.jpg” failed: No access

This file is my background set in Xfce:
/home/mk/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml:10: <property name="last-image" type="string" value="/home/mk/.local/share/backgrounds/IMG_20190702_180143.jpg"/>

Not sure why it tries to load it. Maybe it's supposed to be my avatar background?

In the log there are also tons of warnings which show that widgets aren't properly drawn:

(io.elementary.greeter:10593): GdkPixbuf-CRITICAL **: 15:48:10.126: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(io.elementary.greeter:10593): Gtk-WARNING **: 15:48:10.126: drawing failure for widget 'GreeterBackgroundImage': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(io.elementary.greeter:10593): Gtk-WARNING **: 15:48:10.126: drawing failure for widget 'GtkGrid': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(io.elementary.greeter:10593): Gtk-WARNING **: 15:48:10.126: drawing failure for widget 'GtkOverlay': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(io.elementary.greeter:10593): Gtk-WARNING **: 15:48:10.126: drawing failure for widget 'GreeterUserCard': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(io.elementary.greeter:10593): Gtk-WARNING **: 15:48:10.126: drawing failure for widget 'GtkOverlay': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(io.elementary.greeter:10593): Gtk-WARNING **: 15:48:10.126: drawing failure for widget 'GtkGrid': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(io.elementary.greeter:10593): Gtk-WARNING **: 15:48:10.126: drawing failure for widget 'GreeterMainWindow': invalid value (typically too big) for the size of the input (surface, pattern, etc.)

(io.elementary.greeter:10593): GdkPixbuf-CRITICAL **: 15:48:10.144: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(io.elementary.greeter:10593): GdkPixbuf-CRITICAL **: 15:48:10.144: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(io.elementary.greeter:10593): GdkPixbuf-CRITICAL **: 15:48:10.144: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

Additional info:
accountsservice-0.6.55-3 gnome-settings-daemon-3.38.1-1
granite-5.5.0-1 libgee-0.20.3-2 libgweather-3.36.1-1 libnm-1.26.4-1
lightdm-gtk-greeter-1:2.0.8-1 lightdm-pantheon-greeter-5.0.4-2
mutter6-3.36.6-1 pipewire-0.3.15-2
xorg-server-xwayland-1.20.9.r21.g5c400cae1-2 lightdm-1:1.30.0-4

LXDM and SDDM work just fine, also default gtk greeter is visible (but it also has a black background).

I guess that I'm missing some parts of elementary environment but I can't tell which ones. Tried to install
elementary-icon-theme and elementary-wallpapers but this changed nothing.

Please fix the required packages or make some patch to decouple them from pantheon/elementary.

As a user I'm not using pantheon/elementary and I should not be forced to do that.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 07 May 2023, 02:33 GMT
Reason for closing:  Works for me
Additional comments about closing:  Seems to work fine with current pkgs.

Loading...