Bug#1085934: lightdm: No background displayed when user-background = true

2024-10-24 Thread swingr...@hotmail.fr

Hi,

I've removed gdm3 and then autoremove

lightdm still displaying the background

I can't investigate this weekend cause i'm busy but i'll try to 
reproduce on a fresh install under virtualbox next week


keep watching.


On Thu, 24 Oct 2024 20:59:02 +0200 Yves-Alexis Perez  
wrote:



On Wed, 2024-10-23 at 21:01 +, 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.

Regards,
 >

Bug#1085934: lightdm: No background displayed when user-background = true

2024-10-24 Thread swingr...@hotmail.fr

Hi,

1st of all, i'm migrating from ubuntu to debian because i'm enough with 
snap package.


Regarding lightdm, my familly would like to see the their background on 
login screen. It's very usefull for child.


I agree that adding gdm3 as dependencies is a very bad idea because it 
makes me run into many difficulties like having 2 keyboard 
manager/settings and many other annoying things.


But there's something missing in order to have the feature "user 
backgound" on login screen working. (should be working, it's the default)


In order to produce log, i ran :

$ sudo apt remove gdm3

$ sudo apt autoremove

but lightdm still display backgrounds of users

I'm busy this weekend but next week, i'll try to reproduce on a fresh 
install into virtualbox in order to get logs.


regards,

Emmanuel

On Wed, 23 Oct 2024 16:34:03 +0200 Yves-Alexis Perez  
wrote:



On Wed, 2024-10-23 at 14:34 +0200, swingrock wrote:
>   * Walkaround
> after further analysis, lightdm failed to display the background because
> org.gnome.settings-daemon.plugins.background doesn't exist
> So i install gdm3 but i keep lightdm as my dm.
> and it works but cause so trouble in xfce because of many package 
such as

> keyboard settings and so on were also installed as a part of gdm3 !!

>    * Excpected solution
> It would be nice that the lightdm package contain all nessessary
> dependencies in order to have its features working fine.

Hey, thank you for the bug report. I'm not sure exactly what are the
dependencies of user-background = true (which is the default) but 
there is no
way we would add gdm3 as a dependency to lightdm-gtk-greeter, that 
wouldn't

make sense at all.

Also I'm not sure I see the link with org.gnome.settings-
daemon.plugins.background but maybe some logs would help.

Regards,
 >

Bug#1085934: lightdm: No background displayed when user-background = true

2024-10-29 Thread swingr...@hotmail.fr

Hi,
Mike said : "So, the solution probably indeed is to add AccountsService 
under Depends: or Recommends: of lightdm and done with it. "


I would like AccountsService to be added under Depends. So that all 
features were working fine out of the box for light-gtk-greeter.


This should be ok for gnome, unity and xfce4. Because it's build for it.

For KDE user, most of them use KDM and in case they use lightdm, they 
would use lightdm-kde-greeter


So "AccountsService" should be added only as a Depends of the package : 
"lightdm-gtk-greeter"


regards,


Le 25/10/2024 à 10:07, Mike Gabriel a écrit :

Control: tag -1 - wontfix

Hi Yves,

On  Fr 25 Okt 2024 09:58:20 CEST, Yves-Alexis Perez wrote:


control: tag -1 wontfix

On Fri, 2024-10-25 at 07:56 +, Mike Gabriel wrote:

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.

Eh, thanks for the precision.

I guess work from both Debian maintainer and upstream.

Do you know if they are aware of the patch by the way?
- -- 
Yves-Alexis


As Emmanuel tested the whole thing once more, it seems I am mistaken. 
One more closer look, it seems that LightDM has changed to be more 
generic and they made the BackgroundFile code (and also the keyboard 
layout AccountsService attribute) usable on non-Ubuntu distros, as well:


See 
https://github.com/canonical/lightdm/commit/6015bce25f241e7580c03594d846769f8236232f


So, the solution probably indeed is to add AccountsService under 
Depends: or Recommends: of lightdm and done with it.


Second part is with the desktop envs then, they need to write the 
background image file name into the above BackgroundFile attribute in 
AccountsService, but that's not on us. Obviously, Xfce4 has that 
feature (as Emmanuel's test worked under Xfce4).


Mike




Bug#1085934: lightdm: No background displayed when user-background = true

2024-11-04 Thread swingr...@hotmail.fr

Hi,
This is perfectly understandable for users that are aware of what 
Recommands is.
However, even if i know about, i do not have the reflex to look on 
recommanded packages to in order to made "working" a features that is 
enabled as defaut.
I suggest to disable it as default and add an explanation in the config 
file that the feature require AccountsSetting.

Regards,
Emmanuel

Le 04/11/2024 à 08:42, Yves-Alexis Perez a écrit :

thanks for the suggestion, but we won't do that. AccountsService is a nice add
to the lightdm features, but it's in no way necessary, it's not even a basic
feature. It's currently in the 'Suggests' field and I think it's just fine
that way. Adding it to Recommends would install and run it by default and I
don't think we want that at this point.




Bug#1085934: lightdm: No background displayed when user-background = true

2024-11-07 Thread swingr...@hotmail.fr

Hi Yves-Alexis,
I leave it up to you.
Thanks again for the help solving the problem and finding where it comes 
from.

Regards
Emmanuel

Le 06/11/2024 à 21:14, Yves-Alexis Perez a écrit :

Yes, that looks sensible indeed.