login window background image not displaying in 18.2 (lightdm) [SOLVED]

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
User avatar
jameskga
Level 3
Level 3
Posts: 195
Joined: Sat Jun 04, 2016 8:23 pm

login window background image not displaying in 18.2 (lightdm) [SOLVED]

Post by jameskga » Tue Jul 04, 2017 4:22 pm

Edited to show solution in first post:

Problem:
I get a black background instead of a specified image (in my Pictures directory) when the screen locks on 18.2. I am able to disable the grid, but that seems to be the only change I am able to make right now. Even if I change back to the default wallpaper (/usr/share/backgrounds/linuxmint/default_background.jpg), I do not see any background. Only black!

Interestingly enough, this did not happen in the 18.2 beta. It only started now, on a clean install of 18.2. Another user said he got his image to appear using the "high contrast" setting, but the image does not appear for me using any setting. (Link to that user's comment: http://blog.linuxmint.com/?p=3306#comment-136336)

Solution:
This seems to be a problem for those of us who like to encrypt our /home/ folders. Therefore: Put all your favorite wallpapers in one folder, and copy that folder to /opt/ using sudo in the terminal.

Code: Select all

sudo cp -R /path/to/files/you/want/copied/ /copy/to/this/path/
or

Code: Select all

sudo cp -R /home/name/images/ /opt/
Turn off "draw user backgrounds" in the login window settings on Mint.

And you're good to go. It won't pull backgrounds linked to anywhere in your home folder, but since /opt/ is part of your filesystem, it will pull from there since it's not encrypted before you login (like your /home/ folder is).

Hope this helps. By the way, this is not a bug. It's a feature. It means LightDM is doing its job of protecting your encrypted home folder, just like you would want or expect it to, in case your laptop ever fell into the wrong hands. It is irrational to encrypt your home folder, but expect backgrounds located within the home folder to be unencrypted.
Last edited by jameskga on Sun May 20, 2018 12:52 am, edited 9 times in total.
LMDE 3 Cinnamon (64-bit)
I am out there

frankt
Level 1
Level 1
Posts: 17
Joined: Sun Jun 25, 2017 5:53 pm

Re: login window background image not displaying in 18.2 (lightdm)

Post by frankt » Tue Jul 04, 2017 6:10 pm

I too upgraded from 18.1 to 18.2, and now my login background is the same as my selected wallpaper. The contents of the directory /etc/lightdm have changed with 18.2, specifically the configuration files are different.

Code: Select all

frank@msiMint /etc/lightdm $ cat slick-greeter.conf
[Greeter]
draw-grid=false
background=/home/frank/Pictures/IMG_2657.JPG
This configuration specification should have used a file I identified as my logon background. But I may have found the problem:

Code: Select all

frank@msiMint /etc/lightdm $ slick-greeter
[+0.00s] DEBUG: settings.vala:145: Overriding dconf setting for background with /home/frank/Pictures/IMG_2657.JPG
[+0.00s] DEBUG: settings.vala:159: Overriding dconf setting for draw-grid
[+0.00s] DEBUG: slick-greeter.vala:587: HiDPI support: auto
[+0.23s] DEBUG: slick-greeter.vala:613: Launched at-spi-bus-launcher. PID: 3614
[+0.25s] DEBUG: slick-greeter.vala:622: Starting slick-greeter 1.0.7 UID=1000 LANG=en_US.UTF-8
[+0.25s] DEBUG: slick-greeter.vala:625: Setting cursor
[+0.25s] DEBUG: slick-greeter.vala:639: Loading command line options
[+0.25s] DEBUG: slick-greeter.vala:667: Setting GTK+ settings
[+0.26s] DEBUG: slick-greeter.vala:690: Creating Slick Greeter
[+0.26s] DEBUG: slick-greeter.vala:55: Creating background surface
[+0.27s] DEBUG: Connecting to display manager...
[+0.27s] WARNING: Unable to determine socket to daemon
[+0.27s] WARNING: Unable to determine socket to daemon
frank@msiMint /etc/lightdm $ 
Look at the last two lines: WARNING: Unable to determine socket to daemon
I don't know what caused this, or why the system uses my wallpaper file instead.

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: login window background image not displaying in 18.2 (lightdm)

Post by Cosmo. » Tue Jul 04, 2017 6:25 pm

jameskga wrote:I get a black background instead of a specified image (in my Pictures directory) when the screen locks on 18.2.
About what we are talking about here: the login screen or the screen saver?

Assuming you mean the login screen: What happens, if you select a picture from /usr/share/backgrounds?

User avatar
jameskga
Level 3
Level 3
Posts: 195
Joined: Sat Jun 04, 2016 8:23 pm

Re: login window background image not displaying in 18.2 (lightdm)

Post by jameskga » Tue Jul 04, 2017 6:52 pm

Hi Cosmo. Thanks for responding. As of 18.2 there is no screensaver, only blank screen and lock screen (as far as I know).

But yes, as you inferred, I am referring to the login window. Regardless of where the image is located, including /usr/share/backgrounds, I get the same result: No background image, only a black background.
LMDE 3 Cinnamon (64-bit)
I am out there

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: login window background image not displaying in 18.2 (lightdm)

Post by Cosmo. » Tue Jul 04, 2017 7:08 pm

Try this: Select another background color (you may revert to the previous one, if you prefer): Does this help?

User avatar
jameskga
Level 3
Level 3
Posts: 195
Joined: Sat Jun 04, 2016 8:23 pm

Re: login window background image not displaying in 18.2 (lightdm)

Post by jameskga » Tue Jul 04, 2017 7:28 pm

That changes the color, but my backgrounds still do not show.
LMDE 3 Cinnamon (64-bit)
I am out there

hrmcrm
Level 4
Level 4
Posts: 225
Joined: Sun Jul 03, 2016 5:59 pm
Location: San Francisco

Re: login window background image not displaying in 18.2 (lightdm)

Post by hrmcrm » Tue Jul 04, 2017 7:41 pm

This looks like a bug in Plasma 5.8.7 that is documented at https://bugs.kde.org/show_bug.cgi?id=370521
Some workarounds are given, but I have not succeeded with them so far.
Howard
ThinkPads 310ED, 600E, T23, X41, X60, T61, X201, E550

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: login window background image not displaying in 18.2 (lightdm)

Post by Cosmo. » Tue Jul 04, 2017 7:42 pm

Play around with the other settings for the login screen. I see here, that it needs sometimes a number of attempts, until the background picture appears.

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: login window background image not displaying in 18.2 (lightdm)

Post by Cosmo. » Tue Jul 04, 2017 7:46 pm

hrmcrm wrote:This looks like a bug in Plasma 5.8.7
Hardly. As far as I know (I don't use KDE) the KDE edition uses a different display manager (SDDM), but we are talking here about lightdm.

In this context:
@jameskga:
What is your desktop environment?

User avatar
jameskga
Level 3
Level 3
Posts: 195
Joined: Sat Jun 04, 2016 8:23 pm

Re: login window background image not displaying in 18.2 (lightdm)

Post by jameskga » Tue Jul 04, 2017 8:01 pm

Hi Cosmo. Obviously, I use the best desktop environment, Xfce. I will mess with the settings and see if anything gives!

Edit: I got a stock background from that usr/shared/backgrounds directory to work, but it won't recognize any of my wallpapers not in that folder; for example, backgrounds from /home/Pictures/Wallpapers don't appear.

Here is my fix though! My solution was to use sudo to copy my wallpaper folder into that directory...

Image
LMDE 3 Cinnamon (64-bit)
I am out there

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: login window background image not displaying in 18.2 (lightdm) (solved)

Post by Cosmo. » Wed Jul 05, 2017 5:38 am

Is your home encrypted?

User avatar
jameskga
Level 3
Level 3
Posts: 195
Joined: Sat Jun 04, 2016 8:23 pm

Re: login window background image not displaying in 18.2 (lightdm) (solved)

Post by jameskga » Wed Jul 05, 2017 2:02 pm

Yes
LMDE 3 Cinnamon (64-bit)
I am out there

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: login window background image not displaying in 18.2 (lightdm) (solved)

Post by Cosmo. » Wed Jul 05, 2017 3:43 pm

In this case the cause is clear: As long as you are not logged in, the pictures in your home are not readable.

gibbs1984
Level 5
Level 5
Posts: 798
Joined: Mon Oct 27, 2008 2:40 pm
Location: Hemel Hempstead, England

Re: login window background image not displaying in 18.2 (lightdm) (solved)

Post by gibbs1984 » Wed Jul 05, 2017 4:09 pm

In case anyone else reads this and this solution doesn't work for them I found this video on YouTube about putting the pictures in usr/share/pixmaps and it worked for me.

https://www.youtube.com/watch?v=p25rcbhQLt4
Linux Mint 19.0 (Cinnamon) 64bit.

VtPoet
Level 3
Level 3
Posts: 116
Joined: Tue Jan 19, 2010 8:28 pm

Re: login window background image not displaying in 18.2 (lightdm) (solved)

Post by VtPoet » Wed Jul 05, 2017 5:31 pm

None of these solutions/workarounds are working for me.

I don't get how Mint Devs could ship LightDM in 18.2 without testing this?

User avatar
Pjotr
Level 21
Level 21
Posts: 13175
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: login window background image not displaying in 18.2 (lightdm) (solved)

Post by Pjotr » Wed Jul 05, 2017 5:59 pm

VtPoet wrote:I don't get how Mint Devs could ship LightDM in 18.2 without testing this?
Since when is a purely cosmetic, very minor bug a showstopper? :shock:
Exaggeration is an art form.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: login window background image not displaying in 18.2 (lightdm) (solved)

Post by Cosmo. » Wed Jul 05, 2017 6:09 pm

VtPoet wrote:I don't get how Mint Devs could ship LightDM in 18.2 without testing this?
It has been tested. The problem might be, that some problems do show only in certain conditions.

VtPoet
Level 3
Level 3
Posts: 116
Joined: Tue Jan 19, 2010 8:28 pm

Re: login window background image not displaying in 18.2 (lightdm) (solved)

Post by VtPoet » Wed Jul 05, 2017 6:24 pm

//Since when is a purely cosmetic, very minor bug a showstopper?//

Who said it was a "showstopper"? --- speaking of exaggeration. I think you're exaggerating my comment. For a showstopper, though, see the latest release of Debian, in which not a single Debian LiveCD could actually install Debian.

But anyway, here's the thing: CLEM billed LightDM is a great improvement over MDM and specifically billed its customizability. And it might be true that this condition only shows in certain conditions, but it might not be. A quick Google search reveals that this problem, with LightDM, has been ongoing for, at least, the last four years. So, draw your own conlusions....

https://github.com/UbuntuBudgie/budgie-artwork/issues/5
https://ubuntuforums.org/showthread.php?t=2085657
https://askubuntu.com/questions/694202/ ... gin-screen
https://bbs.archlinux.org/viewtopic.php?id=149945
https://unix.stackexchange.com/question ... te-desktop
Etc...

I don't mind switching back to MDM. Battling a four year old bug that Mint Devs couldn't/won't fix is way above my pay scale.

User avatar
Pjotr
Level 21
Level 21
Posts: 13175
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: login window background image not displaying in 18.2 (lightdm) (solved)

Post by Pjotr » Wed Jul 05, 2017 6:27 pm

A showstopper bug is something which should prevent a package from being shipped. You asked how the devs could have shipped LightDM with this bug in 18.2. I answered that.

Very minor, highly unimportant cosmetic bugs like this, can be ironed out during the lifecycle of 18.2. If the devs find time for it.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

Cosmo.
Level 23
Level 23
Posts: 17830
Joined: Sat Dec 06, 2014 7:34 am

Re: login window background image not displaying in 18.2 (lightdm) (solved)

Post by Cosmo. » Wed Jul 05, 2017 6:36 pm

If I test a software - and in case of LM 18.2 i invested very much time in the last month - and I fine something, which does not work properly, I report it. If I find no problem, then there is obviously nothing to report.

What I do not: I do not hunt for reports, which are partly several years old and are related to a version, which is not current. That does not make sense. What do you think would happen, if I would report "There is a bug report there and there". If at all I would get the reply: "Can you reproduce it?". My answer: "No". What now?

Post Reply

Return to “Installation & Boot”