Redshift: Unable to start GeoClue client: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Geolocation disabled for UID 0.

Created on 26 Sep 2017  路  6Comments  路  Source: jonls/redshift

while trying to run _redshift_ on my linux, I'm getting following error, although I didn't had any issues running it for the first time though)

root@suey:~# redshift -V
redshift 1.11
root@suey:~/Downloads# redshift 
Trying location provider `geoclue2'...
Using provider `geoclue2'.
Using method `randr'.
^Croot@suey:~#
root@suey:~# redshift 
Trying location provider `geoclue2'...
Using provider `geoclue2'.
Unable to start GeoClue client: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Geolocation disabled for UID 0.
Unable to connect to GeoClue.
Unable to get location from provider.
root@suey:~# 

Please advise.

Most helpful comment

@jonls Thank you. It worked for me. All I had to do is to reactivate the location services under system>privacy as stated in the FAQ

All 6 comments

Unable to start GeoClue client: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Geolocation disabled for UID 0.

root@suey:~#

that hint should be enough

@a1exus As was pointed out above, it seems that you are running Redshift as root. It appears that GeoClue will not provide location updates to the root user. In any case, it is not recommended to run Redshift as root. Please try to run as a normal user. If the AccessDenied error persists, please see the FAQ: https://github.com/jonls/redshift#faq

@jonls

I use live system and for better or worse root is the way to go and since I login as root, redshift runs under root as well, let's put message aside for a moment, when I ran redshift for the very first time, redshift ran without any messages such as this AND it was working fine, when I tried second time I couldn't get it to work and I got that message now...

@a1exus That's all fine, you can of course run Redshift in any way you want but if you do, you're on your own when any issues occur. Did you take a look at the FAQ, specifically the entry about GeoClue access denied?

@jonls Thank you. It worked for me. All I had to do is to reactivate the location services under system>privacy as stated in the FAQ

Was this page helpful?
0 / 5 - 0 ratings

Related issues

entrity picture entrity  路  5Comments

lynysys picture lynysys  路  5Comments

freedomd1v3 picture freedomd1v3  路  4Comments

amosbird picture amosbird  路  4Comments

planemad picture planemad  路  6Comments