You are not logged in.

#1 2017-07-30 22:05:35

Leeo97one
Member
From: Bourgogne-Franche-Comté
Registered: 2017-07-29
Posts: 5

[colord] No screen detected (solved)

See post #3 for a solution.

Hello,

I noticed a few days ago in GNOME settings that my screen was no longer detected:
http://i.imgur.com/F06ByKB.png
"Unable to detect a device to manage its color"

It turns out that GNOME Color Manager uses colord as backend. So I tried directly with colormgr:

[leeo@leeo-arch-pc ~]$ colormgr get-devices
[leeo@leeo-arch-pc ~]$ sudo colormgr get-devices
[sudo] Mot de passe de leeo : 
[leeo@leeo-arch-pc ~]$ 

But nothing...

My screen is detected by xrandr without problem:

[leeo@leeo-arch-pc ~]$ xrandr 
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     59.93*+  60.00    59.94    50.00    60.05    60.00    50.04  
   1680x1050     59.95  
   1600x900      75.00    60.00  
   1440x900      59.89  
   1366x768      59.79  
   1280x1024     75.02    70.00    60.02  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93  
HDMI-1 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)

And so the night mode of GNOME no longer works:

juil. 30 21:11:58 leeo-arch-pc gsd-color[3525]: could not find device: property match 'XRANDR_name'='HDMI-0' does not exist
juil. 30 21:11:59 leeo-arch-pc gsd-color[3525]: could not find device: property match 'XRANDR_name'='HDMI-0' does not exist
juil. 30 21:11:59 leeo-arch-pc gsd-color[3525]: could not find device: property match 'XRANDR_name'='HDMI-0' does not exist
juil. 30 21:12:01 leeo-arch-pc gsd-color[3525]: could not find device: property match 'XRANDR_name'='HDMI-0' does not exist

Knowing that I reinstalled Arch Linux a short time ago and that it worked very well for a few days.

Last edited by Leeo97one (2017-07-31 14:19:40)

Offline

#2 2017-07-30 22:38:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 26,025
Website

Re: [colord] No screen detected (solved)

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Online

#3 2017-07-31 12:25:06

Leeo97one
Member
From: Bourgogne-Franche-Comté
Registered: 2017-07-29
Posts: 5

Re: [colord] No screen detected (solved)

I found an interesting message in journalctl:

juil. 31 12:48:00 leeo-arch-pc gsd-color[550]: failed to create device: could not check org.freedesktop.color-manager.create-device for auth: GDBus.Error:org.freedesktop.PolicyKit1.Error.NotAuthorized: Only trusted callers (e.g. uid 0 or an action owner) can use CheckAuthorization() for subjects belonging to other identities

I have a solution! You have to delete (or move) the file /usr/share/polkit-1/actions/org.freedesktop.color-manager.create-device.policy and reinstall the colord package.
It's a file created by NoMachine during the installation but I don't know why this prevent gsd-color to create devices...

Last edited by Leeo97one (2017-08-17 12:41:42)

Offline

#4 2018-08-11 19:25:00

sumit_anantwar
Member
Registered: 2015-03-19
Posts: 3

Re: [colord] No screen detected (solved)

@Leeo97one, you just did not save my day, you saved my week!
Was struggling with this for more than a week, and reinstalled Arch twice.

Thank you !

Offline

Board footer

Powered by FluxBB