Bug 305988 - KCM should warn users about not being able to set a greeter background when /home is encrypted
Summary: KCM should warn users about not being able to set a greeter background when /...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: lightdm
Classification: Plasma
Component: config (other bugs)
Version First Reported In: 0.2.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
: 312810 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-29 13:44 UTC by Rohan Garg
Modified: 2020-10-10 21:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rohan Garg 2012-08-29 13:44:42 UTC
When the home dir of a user is encrypted, lightdm can't read the wallpaper that the user set for the greeter background causing the user to see a white background and leaving the user somewhat perplexed.

The KCM should ideally represent this at the time when a user sets the background. Alternatively, lightdm should  do as the user says and copy the file over to a unecnrypted location ( possibly /usr/share/wallpapers ? ) thus allowing lightdm to display the greeter wallpaper

Reproducible: Always

Steps to Reproduce:
1. Setup install with encrypted home dir
2. Set greeter wallpaper from KCM where the wallpaper is on the encrypted home dir
3. Get a white background for the greeter
Comment 1 David Edmundson 2012-08-29 13:52:31 UTC
Split into two bugs: https://bugs.kde.org/show_bug.cgi?id=305989
We should do something better than a white background in the case of an error. I will aim that for 0.3.1, this can come later as it's much bigger.

I'm not sure of a reliable way to tell if the if the file will be readable when LightDM loads. As well as encryption we also have permissions, network mounts etc. Ideas?

If we go with the "copying a file" approach, it should be to lightDM's users home folder which is in /var somewhere.
Comment 2 David Edmundson 2013-01-08 15:00:47 UTC
Seems we can detect the folder to copy into with

KUser ldmUser("lightdm")
if (ldmUser.isValid()) {
  copy images to ldmUser.homeDir()
}

Will require:
 - new AuthKit module to copy file
 - code  in the UI loader  to know it should/can copy files
 - code in KConfigSkeleton to know to replace the full path with the newly moved path
Comment 3 David Edmundson 2013-01-08 15:00:55 UTC
*** Bug 312810 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2020-10-10 21:20:47 UTC
We no longer use lightDM, having moved to SDDM several years ago. As such, this bug report is no longer applicable. Bugs reports for the new SDDM-based login screen should be filed to one of two places:

1. Visual/UI bugs with the login screen UI itself, or feature requests: plasmashell | Theme - Breeze
2. Bugs with the login/user switching process: https://github.com/sddm/sddm/issues