On  Do 24 Okt 2024 20:59:02 CEST, Yves-Alexis Perez wrote:

On Wed, 2024-10-23 at 21:01 +0000, Mike Gabriel wrote:
In Lomiri Greeter and Unity Greeter the user background image code 
depends on an Ubuntu-specific patch in AccountsService:

https://salsa.debian.org/freedesktop-team/accountsservice/-/blob/ubuntu/debian/patches/0011-add-background-file-support.patch

In Lomiri Greeter we added code to be able to work without that patch 
on distros that don't have it.
Hey Mike,

thanks for the update but I'm not sure I get everything.

user-background=true seems the default in lightdm-gtk-greeter and relies on
the liblightdm api. I couldn't identify at first sight where does LightDM find
that user background, but maybe it actually comes from AccountService?

If so, swingrock, could you try removing gdm3 and everything else you
installed, and just install accountsservice package? And then report back.

I took a closer look once more. The BackgroundFile is indeed obtained from AccountsService:

https://github.com/canonical/lightdm/blob/main/common/user-list.c#L589

However, Debian's AccountsService does not provide the BackgroundFile attribute in org.freedesktop.Accounts like it does in Ubuntu (see above patch URL).

That Ubuntu patch unfortunately never made it to AccountsService upstream.

Second reason why the user background image does not appear: all desktop environments used with LightDM must update the BackgroundFile attribute in AccountsService if the user changes their background image. Ubuntu has/had patches for that in Ubuntu GNOME, Unity7 and Unity8.

So, in a nutshell, without a considerable amount of effort and cooperation from Debian's AccountsService maintainer, this bug report should be tagged as "won't fix" for now.

Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

Attachment: pgpkrotzewnJe.pgp
Description: Digitale PGP-Signatur

Reply via email to