On 7/6/21 12:30 PM, ToddAndMargo via users wrote:
> Anyone know how to fix this? The FAQ was zero help.
>
> -T
>
> $ redshift
>
> Trying location provider `geoclue2'...
> Using provider `geoclue2'.
> Using method `randr'.
> Waiting for initial location to become available...
> Unable to start GeoClue client:
> GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: 'redshift'
> disallowed, no agent for UID 500.
> Access to the current location was denied by GeoClue!
> Make sure that location services are enabled and that Redshift is
> permitted
> to use location services. See
https://github.com/jonls/redshift#faq
> for more
> information.
> Unable to get location from provider.
The FAQ had me change to the sample config.
It always red shifted, so a little detective
work found that the sample file had
location-provider=manual
Switching it to
location-provider=geoclue2
Making sure geoclue was running:
$ systemctl start geoclue.service
$ systemctl status geoclue.service
● geoclue.service - Location Lookup Service
Loaded: loaded (/usr/lib/systemd/system/geoclue.service; static)
Active: active (running) since Mon 2021-07-12 03:49:46
And rerunning redshift, gives:
$ redshift
Waiting for initial location to become available...
And it never times out
:'(
-T