You are not logged in.

#1 2014-11-07 01:22:12

TheKing42
Member
Registered: 2014-10-08
Posts: 40

Can't change lightdm login background image.

Relevant exerpts

$ cat /etc/lightdm/lightdm.conf | grep -C 2 ^greeter-session
# unity-compositor-command = Unity compositor command to run (can also contain arguments e.g. unity-system-compositor -special-option)
# unity-compositor-timeout = Number of seconds to wait for compositor to start
greeter-session = lightdm-gtk3-greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
$ cat /etc/lightdm/lightdm-gtk-greeter.conf | grep -C 2 ^background
# Template for monitor configuration:
# [monitor: name]
background = /home/media/Temple.jpg
# user-background = overrides default value
# laptop = true|false, false by default. Marks monitor as laptop display.
$ ls -l /home/media/Temple.jpg 
-rwxr-xr-x 1 root root 902661 Nov  6 20:06 /home/media/Temple.jpg

It looks like it should work, but it is still a black background.

Last edited by TheKing42 (2014-11-07 01:22:53)


That question on the noobie form freaked me out. I was able to figure it out, but why do we have that?

Offline

#2 2014-11-07 01:56:32

Walston_Tempest
Member
From: Brighton UK
Registered: 2014-03-17
Posts: 5

Re: Can't change lightdm login background image.

Your background image needs to be in /usr/share/pixmaps or it won't work.

Offline

#3 2014-11-07 08:45:26

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Can't change lightdm login background image.

It does not have to be. Mine is in /usr/share/wallpapers tongue

The important thing is that lightdm starts as a different user (not as root), so that user must be able to access the wallpaper. Fix the permissions or move the wallpaper somewhere where lightdm (the user) has the correct permissions.

EDIT: If you are wondering why the permissions might be wrong: Does /home/media have the correct permissions?

Last edited by runical (2014-11-07 08:50:17)

Offline

Board footer

Powered by FluxBB