Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checking activation of different background picture #106

Open
elfring opened this issue Aug 23, 2021 · 9 comments
Open

Checking activation of different background picture #106

elfring opened this issue Aug 23, 2021 · 9 comments
Labels
Incomplete Cannot be verified, the reporter needs to give more info.

Comments

@elfring
Copy link

elfring commented Aug 23, 2021

I am trying the software “LightDM GTK+ Greeter version 2.0.8-1.fc34” out.
The file “/etc/lightdm/lightdm-gtk-greeter.conf” contains the following specifications for my system.

…
background = /usr/share/backgrounds/default.png
…
user-background = false
…

This selected picture is displayed for a very short moment for login attempts.
But I am observing that it is immediately replaced by a different picture (which I am using for my XFCE user session for a while).
🤔 I wonder about this login image replacement when user backgrounds should not be applied at the moment.

@elfring
Copy link
Author

elfring commented Aug 23, 2021

Will another report trigger further development and configuration considerations accordingly?

@bluesabre
Copy link
Member

The user-background setting seems to be working for me. It's possible that your lightdm-gtk-greeter.conf file is not being read. Can you paste the output of:

sudo grep "\.conf" /var/log/lightdm/seat*-greeter.log

It should look something like this.

$ sudo grep "\.conf" /var/log/lightdm/seat*-greeter.log
** Message: 03:38:00.484: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_ubuntu.conf
** Message: 03:38:00.484: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/30_xubuntu.conf
** Message: 03:38:00.484: [Configuration] Reading file: /usr/local/etc/lightdm/lightdm-gtk-greeter.conf
** Message: 03:38:34.040: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_ubuntu.conf
** Message: 03:38:34.040: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/30_xubuntu.conf
** Message: 03:38:34.040: [Configuration] Reading file: /usr/local/etc/lightdm/lightdm-gtk-greeter.conf
** Message: 03:40:04.539: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_ubuntu.conf
** Message: 03:40:04.539: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/30_xubuntu.conf
** Message: 03:40:04.539: [Configuration] Reading file: /usr/local/etc/lightdm/lightdm-gtk-greeter.conf
** Message: 03:47:10.131: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_ubuntu.conf
** Message: 03:47:10.131: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/30_xubuntu.conf
** Message: 03:47:10.131: [Configuration] Reading file: /usr/local/etc/lightdm/lightdm-gtk-greeter.conf

@elfring
Copy link
Author

elfring commented Nov 18, 2021

It's possible that your lightdm-gtk-greeter.conf file is not being read.

Why would such a questionable software behaviour happen (while I could look at available settings by some tools)? 🤔

@bluesabre
Copy link
Member

It could happen as a result of how software is packaged and installed. The greeter reads from multiple files. The tools that write the configuration only write to a single file. If they're not using the same files, changing settings won't work reliably if at all.

@elfring
Copy link
Author

elfring commented Nov 20, 2021

🤔

  • Can such information be clarified any further?
  • Would you like to share more experiences about questionable behaviour in affected software areas?

@bluesabre
Copy link
Member

It's intentional behavior, intended to support distributions. In my output above,

** Message: 03:47:10.131: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_ubuntu.conf
** Message: 03:47:10.131: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/30_xubuntu.conf
** Message: 03:47:10.131: [Configuration] Reading file: /usr/local/etc/lightdm/lightdm-gtk-greeter.conf

You can see that the greeter is reading each configuration file in order from /usr/share/lightdm/lightdm-gtk-greeter.conf.d. It's also reading from /usr/local/etc/lightdm/lightdm-gtk-greeter.conf because my local copy was installed to the /usr/local/ prefix. If it was installed without a prefix, it would read from /etc/lightdm/lightdm-gtk-greeter.conf instead.

Because my greeter is installed to /usr/local but the settings manager is installed without a prefix, I have the scenario where the settings manager is writing to /etc/lightdm/lightdm-gtk-greeter.conf but the greeter isn't reading it. I created a symbolic link between /usr/local/etc/lightdm/lightdm-gtk-greeter.conf and /etc/lightdm/lightdm-gtk-greeter.conf to ensure they're using the same file.

To summarize, if the settings are not applying but you are using the versions of the software packaged by Fedora, you should consider reporting a bug on the Fedora bug tracker instead.

@elfring
Copy link
Author

elfring commented Nov 20, 2021

To summarize, if the settings are not applying but you are using the versions of the software packaged by …

Did you hear about any related open issues (and corresponding adjustments) for available software distributions?

@bluesabre
Copy link
Member

No. Everything seems to be working here, at least on Xubuntu. Please paste the output of

sudo grep "\.conf" /var/log/lightdm/seat*-greeter.log

or I will not be able to assist you further.

@elfring
Copy link
Author

elfring commented Nov 20, 2021

💭 I hope that software distributions will improve their packages (also for this issue).

@bluesabre bluesabre added the Incomplete Cannot be verified, the reporter needs to give more info. label Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Incomplete Cannot be verified, the reporter needs to give more info.
Projects
None yet
Development

No branches or pull requests

2 participants