Bug 344867 - Setting custom background image in kcm_sddm does not work
Summary: Setting custom background image in kcm_sddm does not work
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (show other bugs)
Version: 5.4.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
: 346722 356531 364329 366248 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-05 13:18 UTC by soee
Modified: 2022-09-23 03:13 UTC (History)
20 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soee 2015-03-05 13:18:12 UTC
kcm_sddm allows user to choose and set custom background image for login screen. We can select custom background but it is not used by login screen.

As discussed on IRC, the problem here is that custom image has to be readable by all users (as sddm-greater uses sddm user) but by default such images are readable only by current user.

Some suggested workaround might be to move custom backgraound image to some global directory.

Reproducible: Always

Steps to Reproduce:
1. Open System Setting -> Startup & Shutdown -> Login Screen (SDDM)
2. Choose custom background image and apply changes
3. Relogin or reboot

Actual Results:  
After logout or reboot, default background is still in use.

Expected Results:  
Custom background image should be used.
Comment 1 Marco Parillo 2015-03-05 15:53:43 UTC
Two minor additions:
1. To reproduce, I had to enter my sudo password.
2. On re-boot, not only was the default background still in use, my custom background was removed from the customize theme area.
Comment 2 David Edmundson 2015-04-27 00:39:35 UTC
*** Bug 346722 has been marked as a duplicate of this bug. ***
Comment 3 Wyn 2015-04-28 19:04:36 UTC
I can also vouch this happens with the sddm-kcm package for arch linux. ( https://www.archlinux.org/packages/extra/x86_64/sddm-kcm/ )
Comment 4 Scarlett Moore 2015-05-16 13:32:27 UTC
I can confirm this behavior
Comment 5 jeremy9856 2015-08-10 07:10:40 UTC
Any news on this ?
Comment 6 jeremy9856 2015-08-13 13:37:43 UTC
Seems to be OK (fixed ?) in Kubuntu 15.10.
Comment 7 David Edmundson 2015-08-13 13:40:03 UTC
There's a known issue here. 

If you have the image in something any user can read, that works great.

However, if you have your homedir not readable from outside, or an encrypted home directory or remote storage then SDDM fails to load it. We set the setting fine, but that's not always enough.

On different setups we see different things.

I need to look at copying the image into /var somewhere.
Comment 8 Georg Brunmayr 2015-09-02 05:31:34 UTC
I can confirm that this is caused by permissions.
I first had the issue (that was as well present in KDM) and solved it by just moving my custom wallpaperst into /usr/share/wallpaper but basically every location that is readable would do.

I would not copy it somewhere as this opens up cleanup issueas and so on. I'd go for a hint to the user.
Comment 9 jeremy9856 2015-09-07 16:06:16 UTC
On Kubuntu 15.10 with Plasma 5.4 even with a picture in the home folder that's not working now
Comment 10 Unknown 2015-09-22 20:04:54 UTC
I can also confirm on Kubuntu 15.10 x64 beta. The locked screen will show the custom background wallpaper just fine, but the login screen (either after logging out or rebooting the PC) will not. Wallpaper is in a dropbox folder within the home directory.
Comment 11 jeremy9856 2015-11-23 23:14:40 UTC
Hello,

Just a little reminder that need to be fixed. It's still present on Kubuntu 16.04 Daily.
That doesn't work with my tests with an image in /home and in /usr/share/wallpapers/Next/contents/images.

Thanks
Comment 12 jeremy9856 2015-12-10 10:46:35 UTC
Again a little reminder ;)
Comment 13 John Rowley 2015-12-15 22:44:43 UTC
Also getting the same problem. 5.5.1 on Arch x64.
Comment 14 jeremy9856 2016-01-02 16:09:40 UTC
A reminder.
Comment 15 Michał Dybczak 2016-01-06 08:55:30 UTC
I also have this bug on manjaro kde (plasma 5.5.2).
In the past changing image worked (a few months ago) but since some time only default ssdm wallpapers are shown and cannot be changed in settings.
Comment 16 jeremy9856 2016-01-22 13:57:52 UTC
A reminder for this that need to be fixed.
Comment 17 David Edmundson 2016-01-22 14:00:35 UTC
Please don't do "a reminder" emails.
Comment 18 jeremy9856 2016-01-22 14:01:09 UTC
So please fix it ;)
Comment 19 David Edmundson 2016-01-22 14:04:59 UTC
Follow here: https://git.reviewboard.kde.org/r/126524/
Comment 20 jeremy9856 2016-01-22 14:10:24 UTC
Thank you very much !
Comment 21 David Edmundson 2016-01-23 22:01:47 UTC
*** Bug 356531 has been marked as a duplicate of this bug. ***
Comment 22 jeremy9856 2016-02-19 09:51:26 UTC
Hello David there is no activity for a month on the link you gave.
Don't forget :D

Thanks
Comment 23 Derek Broughton 2016-04-02 02:23:07 UTC
(In reply to David Edmundson from comment #17)
> Please don't do "a reminder" emails.

Why not?  I don't have any idea what that "reviewboard" link is, but (a) I don't have an account there and (b) it's not "bugs.kde.org" which I've been using for (OMG!) two decades.  If you won't update bugs.kde.org with status, then you're not interacting with the community.  

And, fwiw, it's not fixed.
Comment 24 Rex Dieter 2016-07-30 16:27:15 UTC
*** Bug 366248 has been marked as a duplicate of this bug. ***
Comment 25 Tony 2016-08-01 01:51:20 UTC
Here's a work around....

Select a theme for sddm (in my case i only have the default "breeze"), hit clear image on the background selection button, then select your desire image afterward.

Bear in mind this will only change sddm background, "K" animation that comes after it and the "lock screen" background need to be change separately.
Comment 26 jeremy9856 2016-08-20 20:29:44 UTC
I'm thinking using KDE again but will this be fixed ?
Thanks !
Comment 27 David Edmundson 2016-09-27 10:20:16 UTC
fixed.
Comment 28 David Edmundson 2016-09-27 10:20:32 UTC
*** Bug 364329 has been marked as a duplicate of this bug. ***
Comment 29 jeremy9856 2016-09-27 11:18:40 UTC
Awesome ! Thank you David.
Comment 30 Janek Bevendorff 2016-10-05 09:57:47 UTC
I upgraded to 5.8 now. The fix seems to have introduced a little
regression in the settings dialog itself. When I set a background image
it (finally) shows up on the login screen. But when I close and reopen
the settings dialog, the "set background image" button always shows a
default image icon and not the actually selected image.

Besides that, the login screen still shows the default user avatar and
not my actual avatar, but that is probably a different issue.
Comment 31 Patrick Silva 2016-10-05 22:28:10 UTC
I can confirm this bug in sddm kcm, Janek.

Here are my bug reports about avatar issue
https://bugs.kde.org/show_bug.cgi?id=361460
https://bugs.archlinux.org/task/50205
Comment 32 Soukyuu 2017-02-04 12:42:46 UTC
This broke again after updating from 5.8.5 to 5.9.0
The default blue background is used even if picking an image from a user pictures folder and entering the sudo password.
Comment 33 Janek Bevendorff 2017-02-04 12:50:51 UTC
I can confirm this. I had a wallpaper set before 5.9.0 and now it's gone.
Comment 34 Soukyuu 2017-02-04 12:51:07 UTC
Hah, that's interesting. Loading an image from /usr/share/wallpapers does not work either. Seems to be a different bug, then.
Comment 35 Rog131 2017-02-04 17:51:43 UTC
(In reply to Soukyuu from comment #32)
> This broke again after updating from 5.8.5 to 5.9.0
> The default blue background is used even if picking an image from a user
> pictures folder and entering the sudo password.

Maybe this: Bug 370521 - [Regresion] SDDM breeze theme unable to change backgound.