I just did a find & grep over /var and found two files with my username in them: /var/lib/lightdm/.cache/unity-greeter/state /var/lib/lightdm/.config/dconf/user Is there any good reason NOT to delete these files? That is, will deleting them break lightdm or unity-greeter? I would presume there are sensible defaults. -- Robert Heller -- 978-544-6933 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services heller at deepsoft.com -- Webhosting Services
On 10-07-14 16:04, Robert Heller wrote:> I just did a find & grep over /var and found two files with my username in > them: > > /var/lib/lightdm/.cache/unity-greeter/state > /var/lib/lightdm/.config/dconf/user > > Is there any good reason NOT to delete these files? That is, will deleting > them break lightdm or unity-greeter? I would presume there are sensible > defaults.They will be recreated if you delete them. But to be save: rename /var/lib/ligtdm/ And recreate /var/lib/ligthtdm/ with same permissions and ownership
/var/lib/lightdm is the home directory of the lightdm user which is the user account used to run greeters with. /var/lib/lightdm/.cache/unity-greeter/state is the stored state of unity-greeter. It will have your username as the last username logged in with (so that is selected the next time you return to the greeter). You can safely delete the state though it will be re-created each time unity-greeter runs. /var/lib/lightdm/.config/dconf/user is the dconf database for the lightdm user. If you delete it you will loose any settings stored in gsettings for the lightdm user. It should be empty when the user is created so you could delete it. It will be re-created when any lightdm process writes a gsetting. Note that /var/lib/lightdm should not be readable by any other user account. On 11 July 2014 02:04, Robert Heller <heller at deepsoft.com> wrote:> I just did a find & grep over /var and found two files with my username in > them: > > /var/lib/lightdm/.cache/unity-greeter/state > /var/lib/lightdm/.config/dconf/user > > Is there any good reason NOT to delete these files? That is, will deleting > them break lightdm or unity-greeter? I would presume there are sensible > defaults. > > -- > Robert Heller -- 978-544-6933 > Deepwoods Software -- Custom Software Services > http://www.deepsoft.com/ -- Linux Administration Services > heller at deepsoft.com -- Webhosting Services > > _______________________________________________ > LightDM mailing list > LightDM at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/lightdm >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/lightdm/attachments/20140711/10e87a78/attachment.html>