GNOME Bugzilla – Bug 749338
Warning: "failed to set screen _ICC_PROFILE"
Last modified: 2019-03-20 11:26:13 UTC
Every time I start my gnome-session by logging in I get this warning logged to syslog: (gnome-settings-daemon:1218): color-plugin-WARNING **: failed to set screen _ICC_PROFILE: Datei »/home/username/.local/share/icc/edid-[some-id].icc« konnte nicht geöffnet werden: Keine Berechtigung Where edid-[some-id].icc file exists in ~/.local/share/icc with mode -rw------ (600). "Keine Berechtigung" means "Permission denied". I could only find one single reference to this _ICC_PROFILE in g-s-d and that is in gnome-settings-daemon/plugins/color/gsd-color-state.c:151. The process trying to do so is owned by gdm, not by the user. It looks like gnome-settings-daemon started by user gdm (and thus by gdm) tries to access this file, which is obviously wrong.
What distro is this? The g-s-d started by gdm really shouldn't be touching files in your home directory.
(In reply to Richard Hughes from comment #1) > What distro is this? It was on Fedora 22, now still present on a fully updated Fedora 23. > The g-s-d started by gdm really shouldn't be touching files in your home directory. Looks like it doesn't care what it should or should not do ;) To make sure this is not caused by any misconfiguration on my side I've reinstalled Fedora since reporting this bug. Even resetting gdm¹ didn't change this behavior. Might this issue be depending on my local user configuration? or on Hardware? Before and after resetting gdm, there is a file in /var/lib/gdm/.local/share/icc with the same name as the file in ~/.local/share/icc, but contents differ. ¹ Steps: 1. # systemctl stop gdm 2. # rm -rf /var/lib/gdm 3. # dnf reinstall gdm 4. # systemctl reboot 5. in gdm, login as ordinary user
I have the same issue in ArchLinux x86_64. Default configuration is used. gnome-session 3.18.1.2, gnome-settings-daemon 3.18.3. $ LANG=C journalctl -b -u session-c1.scope | grep ICC Mar 28 08:39:23 hostname gnome-session[523]: (gnome-settings-daemon:4383): color-plugin-WARNING **: failed to set screen _ICC_PROFILE: Не удалось открыть файл «/home/username/.local/share/icc/edid-[id].icc»: Отказано в доступе $ ps l 523 4383 F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND 0 120 523 516 20 0 575936 14512 - Sl+ tty1 0:00 /usr/lib/gnome-session/gnome-session-binary --autostart /usr/share/gdm/greeter/autostart --session gnome-wayland 0 120 4383 523 20 0 962416 46672 - Sl+ tty1 0:00 /usr/lib/gnome-settings-daemon/gnome-settings-daemon $ getent passwd | grep 120 gdm:x:120:120:Gnome Display Manager:/var/lib/gdm:/sbin/nologin $ cat /proc/4383/environ | xargs -0l echo XDG_VTNR=1 DCONF_PROFILE=gdm XDG_SESSION_ID=c1 GIO_LAUNCHED_DESKTOP_FILE_PID=4383 WAYLAND_DISPLAY=wayland-0 XDG_MENU_PREFIX=gnome- SHELL=/sbin/nologin XDG_SESSION_CLASS=greeter USER=gdm DESKTOP_AUTOSTART_ID=1021e2d37e6ad54588145914354884951200000005230001 SSH_AUTH_SOCK=/run/user/120/keyring/ssh SESSION_MANAGER=local/hostname:@/tmp/.ICE-unix/523,unix/hostname:/tmp/.ICE-unix/523 USERNAME=gdm GIO_LAUNCHED_DESKTOP_FILE=/etc/xdg/autostart/gnome-settings-daemon.desktop PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin DESKTOP_SESSION=gnome XDG_SESSION_TYPE=wayland PWD=/var/lib/gdm LANG=ru_RU.UTF-8 GDM_LANG=ru_RU.UTF-8 GDMSESSION=gnome XDG_SEAT=seat0 HOME=/var/lib/gdm SHLVL=0 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GDM_SEAT_ID=seat0 LOGNAME=gdm XDG_SESSION_DESKTOP=gnome DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/120/bus XDG_DATA_DIRS=/usr/share/gdm/greeter:/usr/local/share/:/usr/share/ DISPLAY=:1024 XDG_RUNTIME_DIR=/run/user/120 GDM_VERSION=3.18.2 XDG_CURRENT_DESKTOP=GNOME RUNNING_UNDER_GDM=true
@Richard Hughes: You marked this bug as NEEDINFO a while ago. Which info do you need? Now it is Fedora 24.
Seeing the same in openSUSE Tumbleweed. As to the needinfo, I guess that should have been cleared by reporter when he answered Richard.
Same here, using Fedora 24: May 25 23:10:02 localhost.localdomain gnome-settings-daemon.desktop[1514]: (gnome-settings-daemon:1514): color-plugin-WARNING **: failed to set screen _ICC_PROFILE: Failed to open file '/home/x/.local/share/icc/edid-a092a6b7f0cd0ebf9929474386e24789.icc': Permission denied -rw-rw-r--. 1 x x 1.3K May 25 23:07 /home/x/.local/share/icc/edid-a092a6b7f0cd0ebf9929474386e24789.icc is probably caused by selinux?
(In reply to Khad from comment #6) > is probably caused by selinux? No, see comment #2. GDM has no reason to access any home directory, but it tries to, anyway.
Also, when running gnome-control-center as user from a terminal, I noted this warning when opening the "Color" page: color-cc-panel-WARNING **: /var/lib/gdm/.local/share/icc/edid-[some-id].icc is not usable by this user
Same problem here. This isn't a fedup problem is it?
(In reply to hughbragg from comment #9) > Same problem here. This isn't a fedup problem is it? No, not related to fedup at all.
(In reply to Christian Stadelmann from comment #10) > (In reply to hughbragg from comment #9) > > Same problem here. This isn't a fedup problem is it? > > No, not related to fedup at all. How can y9u be so sure, what's your reasoning. I've fedup since 22 and it can easily be a left over setting.
(In reply to hughbragg from comment #11) > (In reply to Christian Stadelmann from comment #10) > > (In reply to hughbragg from comment #9) > > > Same problem here. This isn't a fedup problem is it? > > > > No, not related to fedup at all. > > How can y9u be so sure, what's your reasoning. I've fedup since 22 and it > can easily be a left over setting. Reasons why fedup is not to blame: 1. No, I haven't used fedup to update from F22 (afaik). 2. Fedup doesn't touch gdm or gnome-settings-daemon or gnome-control-center settings. 3. gdm and gnome-control-center and gnome-settings-daemon use dconf for settings. In dconf-editor you can see that there is no dconf entry related to this. I'm not 100% sure this is an issue with gnome-settings-daemon, but its devs should know better. But at least, gnome-settings-daemon provides some related code for reading/parsing color profiles with EDID: https://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/color
I report the same problem here (Arch Linux x86_64, gnome 3.20.2) and now: Sep 22 12:29:11 arch-xps gnome-settings-daemon.desktop[2255]: (gnome-settings-daemon:2255): color-plugin-WARNING **: failed to set screen _ICC_PROFILE: Failed to open file '/home/mattia/.local/share/icc/edid-4f5c266a34a86a0e977c63a087e98d94.icc': Permission denied NB: this message is logged twice at boot and after I close and I re-open the LID of my laptop
I still see this with 3.22.1-1 on Arch, too. Name : gnome-settings-daemon Version : 3.22.1-1
(In reply to Stefan Jensen from comment #14) > I still see this with 3.22.1-1 on Arch, too. > > Name : gnome-settings-daemon > Version : 3.22.1-1 Me too. Same version.
Me on ARch I see a different path failing: arch gnome-settings-[1238]: failed to set screen _ICC_PROFILE: File »/var/lib/gdm/.local/share/icc/edid-dcc982a15a9ed3282cdf414600645dca.icc« p.
This issue is still present on gnome-settings-daemon 3.26.1 (Fedora 27 beta). Could this be an old value put somewhere in a config file which is not being updated? If yes, where is this config file?
It's still on Arch with 3.26.1 too.
I see this error message in Fedora 28.
This bug also appears on: Arch 4.18.10 gdm 3.30.1 on X11 (xorg server 1.20.1).
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/265.