You are not logged in.

#1 2018-09-28 16:05:02

momu
Member
Registered: 2017-10-14
Posts: 137

[SOLVED]No avatar (LightDM)

I use LightDM as my display manager and I noticed that it doesn't show my avatar anymore (after an update today).
Everything is set according to the wiki: https://wiki.archlinux.org/index.php/Li … our_avatar.

[nikola@leviathan ~]$ pacman -Qi accountsservice
Name            : accountsservice
Version         : 0.6.53-1
Description     : D-Bus interface for user account query and manipulation
Architecture    : x86_64
URL             : https://gitlab.freedesktop.org/accountsservice/accountsservice
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : glib2  polkit  systemd
Optional Deps   : None
Required By     : None
Optional For    : lightdm
Conflicts With  : None
Replaces        : None
Installed Size  : 974.00 KiB
Packager        : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Build Date      : Thu 27 Sep 2018 02:54:17 AM CEST
Install Date    : Fri 28 Sep 2018 05:36:55 PM CEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

[nikola@leviathan ~]$ file /var/lib/accountsservice/icons/nikola.jpg 
/var/lib/accountsservice/icons/nikola.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 96x96, frames 3
[nikola@leviathan ~]$ cat /var/lib/accountsservice/users/nikola 
[User]
XSession=i3
Icon=/home/nikola/var/lib/accountsservice/icons/nikola.jpg
SystemAccount=false
[nikola@leviathan ~]$ ls -l /var/lib/accountsservice/icons/nikola.jpg /var/lib/accountsservice/users/nikola 
-rw-r--r-- 1 root   root 2522 Sep 28 17:31 /var/lib/accountsservice/icons/nikola.jpg
-rw-r--r-- 1 root   root     98 Sep 28 18:00 /var/lib/accountsservice/users/nikola

Edit:

Icon=/home/nikola/var/lib/accountsservice/icons/nikola.jpg

is obviously wrong... roll

Last edited by momu (2018-09-28 17:06:48)

Offline

#2 2018-09-28 19:30:29

Wake
Member
Registered: 2012-01-12
Posts: 12

Re: [SOLVED]No avatar (LightDM)

How is this "SOLVED"? my

 /var/lib/accountsservice/users/wake 

contained

 Icon=/home/wake/.face

, so I copied my old icon file:

 /home/wake/.face: PNG image data, 96 x 96, 8-bit/color RGB, non-interlaced

. My icon still doesn't display.

Offline

#3 2018-09-29 05:41:00

momu
Member
Registered: 2017-10-14
Posts: 137

Re: [SOLVED]No avatar (LightDM)

Wake wrote:

How is this "SOLVED"? my

 /var/lib/accountsservice/users/wake 

contained

 Icon=/home/wake/.face

, so I copied my old icon file:

 /home/wake/.face: PNG image data, 96 x 96, 8-bit/color RGB, non-interlaced

. My icon still doesn't display.

I had that too when updated a system. You need to copy/move /home/wake/.face to /var/lib/accountsservice/icons/wake.png and edit your /var/lib/accountsservice/users/wake accordingly. I think your current accounsservice setup doesn't work because user file wake and icon file .face are not on the same partition (not sure).

Offline

#4 2018-09-30 22:45:32

Wake
Member
Registered: 2012-01-12
Posts: 12

Re: [SOLVED]No avatar (LightDM)

This was solved by a 9/29 update to accountsservice. The problem was related to a case-sensitive naming change that resulted in the program referring to /var/lib/accountsservice instead of /var/lib/AccountsService.

Offline

Board footer

Powered by FluxBB