You are not logged in.

#1 2015-09-05 15:25:10

chdslv
Member
Registered: 2015-08-24
Posts: 51

[SOLVED]Lightdm background not loading

Lightdm loads, but has a black background. The background wallpaper is in pixmaps.
/var/log/lightdm/x-0-greeter.log says,

** (lightdm-gtk-greeter:587): WARNING **: [Background] Failed to load background: Failed to open file '/usr/share/pixmaps/Araliya.jpg ': No such file or directory

** (lightdm-gtk-greeter:587): WARNING **: [Background] Failed to read wallpaper: /usr/share/pixmaps/Araliya.jpg

But, the file Araliya.jpg is there in /usr/share/pixmaps and the owner is root.

Everything done as in the Arch Lightdm wiki page.
Any solution?
Thanks.

Last edited by chdslv (2015-09-08 10:04:20)

Offline

#2 2015-09-05 17:33:08

KoboldDresden
Member
From: Dresden, Germany
Registered: 2015-08-27
Posts: 6

Re: [SOLVED]Lightdm background not loading

My background picture for lightdm is in /usr/share/pixmaps too, but PNG.

Last edited by KoboldDresden (2015-09-05 17:37:57)

Offline

#3 2015-09-06 15:03:04

chdslv
Member
Registered: 2015-08-24
Posts: 51

Re: [SOLVED]Lightdm background not loading

KoboldDresden wrote:

My background picture for lightdm is in /usr/share/pixmaps too, but PNG.

I changed the file to a png one, but still the same problem. /var/log/lightdm/x-0-greeter.log

** (lightdm-gtk-greeter:579): WARNING **: [Background] Failed to load background: Failed to open file '/usr/share/pixmaps/Araliya.png ': No such file or directory

** (lightdm-gtk-greeter:579): WARNING **: [Background] Failed to read wallpaper: /usr/share/pixmaps/Araliya.png 

Can anyone help?

Offline

#4 2015-09-06 19:45:49

chdslv
Member
Registered: 2015-08-24
Posts: 51

Re: [SOLVED]Lightdm background not loading

Everything in lightdm-gtk-greeter loads, except the background image. I tested exactly the same in an Ubuntu based distro, and it loads there.

In Ubuntu based distro, there is no lightdm.conf file in /etc/lightdm folder, while there is one in Arch.

If anyone here has Lightdm working, could you check your lightdm.conf and lightdm-gtk-greeter.conf and let me know?

Offline

#5 2015-09-06 20:10:42

Tutti
Member
Registered: 2015-02-26
Posts: 117

Re: [SOLVED]Lightdm background not loading

Are you sure that the path/filename is correct? What do you have in lightdm-gtk-greeter.conf?

Offline

#6 2015-09-07 10:09:24

Zucca
Member
From: KUUSANKOSKI, Finland
Registered: 2009-02-26
Posts: 135

Re: [SOLVED]Lightdm background not loading

chdslv wrote:

Lightdm loads, but has a black background. The background wallpaper is in pixmaps.
/var/log/lightdm/x-0-greeter.log says,

** (lightdm-gtk-greeter:587): WARNING **: [Background] Failed to load background: Failed to open file '/usr/share/pixmaps/Araliya.jpg ': No such file or directory

** (lightdm-gtk-greeter:587): WARNING **: [Background] Failed to read wallpaper: /usr/share/pixmaps/Araliya.jpg

But, the file Araliya.jpg is there in /usr/share/pixmaps and the owner is root.

I think the problem lies in Failed to load background: Failed to open file '/usr/share/pixmaps/Araliya.jpg ': No such file or directory.
Did you see it?
There's an empty space after '.jpg'. Maybe LightDM tries to search for 'Araliya.jpg ' while instead it should be looking for 'Araliya.jpg'.
Check the config again. wink


K.i.s.s. <3

Offline

#7 2015-09-07 20:00:07

torors
Member
Registered: 2012-09-28
Posts: 107

Re: [SOLVED]Lightdm background not loading

I have my background set under the [greeter] section in the file /etc/lightdm/lightdm-gtk-greeter.conf. It's a .jpg-file and works well.

Offline

#8 2015-09-08 10:03:58

chdslv
Member
Registered: 2015-08-24
Posts: 51

Re: [SOLVED]Lightdm background not loading

Zucca wrote:
chdslv wrote:

Lightdm loads, but has a black background. The background wallpaper is in pixmaps.
/var/log/lightdm/x-0-greeter.log says,

** (lightdm-gtk-greeter:587): WARNING **: [Background] Failed to load background: Failed to open file '/usr/share/pixmaps/Araliya.jpg ': No such file or directory

** (lightdm-gtk-greeter:587): WARNING **: [Background] Failed to read wallpaper: /usr/share/pixmaps/Araliya.jpg

But, the file Araliya.jpg is there in /usr/share/pixmaps and the owner is root.

I think the problem lies in Failed to load background: Failed to open file '/usr/share/pixmaps/Araliya.jpg ': No such file or directory.
Did you see it?
There's an empty space after '.jpg'. Maybe LightDM tries to search for 'Araliya.jpg ' while instead it should be looking for 'Araliya.jpg'.
Check the config again. wink

Thank you Zucca. You were right! smile

Offline

#9 2018-05-06 01:55:48

Zeioth
Member
Registered: 2016-01-04
Posts: 7

Re: [SOLVED]Lightdm background not loading

This is super old but I don't see the answer.

You must give permissions to lightdm to read your personal directory:
sudo setfacl -R u:lightdm:rwx $HOME

Offline

#10 2018-05-06 02:22:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED]Lightdm background not loading

There's no mention of the home directory and the issue has been solved. Your solution is for a different problem.

Closing this old topic.

Offline

Board footer

Powered by FluxBB