Xubuntu / lightdm-gtk-greeter-settings

A small dialog to make it easier for users to modify the settings of lightdm-gtk-greeter.
GNU General Public License v3.0
18 stars 1 forks source link

LP#1593986 "Doesn't change background or user image - Arch Linux" #4

Open bluesabre opened 4 years ago

bluesabre commented 4 years ago

Reported first on Launchpad at https://bugs.launchpad.net/lightdm-gtk-greeter-settings/+bug/1593986

LP#0: paddy (sinqbad) wrote on 2016-06-18:

The actual program works but in arch linux it won't change the background images. defaults straight to solid colour. also despite specifying a user image that user image won't appear on log in screen.

pdxjohnny commented 1 year ago

Ran into the same thing on Fedora 37, the root cause for me was due to the parent folder's permissions not being world readable.


reproduced-on-fedora-37-launchpad-lightdm-gtk-greeter-settings-bug-1593986

$ sudo mkdir /opt/wallpapers/
$ sudo stat /opt/wallpapers/
  File: /opt/wallpapers/
  Size: 27              Blocks: 0          IO Block: 4096   directory
Device: 253,1   Inode: 9450093     Links: 2
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Context: unconfined_u:object_r:usr_t:s0
Access: 2022-11-11 10:30:55.826849997 -0800
Modify: 2022-11-11 10:30:52.989865945 -0800
Change: 2022-11-11 10:30:52.989865945 -0800
 Birth: 2022-11-11 10:30:32.291982299 -0800
$ sudo cp /root/wallpaper.jpg /opt/wallpapers/
$ file /opt/wallpapers/wallpaper.jpg
/opt/wallpapers/wallpaper.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 218x218, segment length 16, Exif Standard: [TIFF image data, big-endian, direntries=7, orientation=upper-left, xresolution=98, yresolution=106, resolutionunit=2, software=Pixelmator Pro 2.1.3, datetime=2013:07:16 13:17:42], baseline, precision 8, 6016x3384, components 3
$ stat /opt/wallpapers/wallpaper.jpg
  File: /opt/wallpapers/wallpaper.jpg
  Size: 2187975         Blocks: 4280       IO Block: 4096   regular file
Device: 253,1   Inode: 9752102     Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Context: unconfined_u:object_r:usr_t:s0
Access: 2022-11-11 10:31:06.320791009 -0800
Modify: 2022-11-11 10:30:52.989865945 -0800
Change: 2022-11-11 10:30:52.989865945 -0800
 Birth: 2022-11-11 10:30:52.989865945 -0800