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.
On 07/07/2021 03:30, 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.
What do you mean the FAQ was zero help?
[egreshko@f34k2 ~]$ rpm -qa | grep ^reds redshift-1.12-11.fc34.x86_64 redshift-gtk-1.12-11.fc34.x86_64 [egreshko@f34k2 ~]$ rpm -qa | grep geoclu geoclue2-2.5.7-2.fc34.x86_64 geoclue2-libs-2.5.7-2.fc34.x86_64
[egreshko@f34k2 ~]$ 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 1026. 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
[egreshko@f34k2 ~]$ cp /usr/share/doc/redshift/redshift.conf.sample .config/redshift.conf [egreshko@f34k2 ~]$ redshift Waiting for initial location to become available... Location: 48.10 N, 11.60 E
On 7/6/21 3:08 PM, Ed Greshko wrote:
On 07/07/2021 03:30, 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.
What do you mean the FAQ was zero help?
[egreshko@f34k2 ~]$ rpm -qa | grep ^reds redshift-1.12-11.fc34.x86_64 redshift-gtk-1.12-11.fc34.x86_64 [egreshko@f34k2 ~]$ rpm -qa | grep geoclu geoclue2-2.5.7-2.fc34.x86_64 geoclue2-libs-2.5.7-2.fc34.x86_64
[egreshko@f34k2 ~]$ 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 1026. 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
[egreshko@f34k2 ~]$ cp /usr/share/doc/redshift/redshift.conf.sample .config/redshift.conf [egreshko@f34k2 ~]$ redshift Waiting for initial location to become available... Location: 48.10 N, 11.60 E
Hi Ed,
Oh crap. I missed that part. It is working now.
Thank you!
-T
On 06/07/2021 23:08, Ed Greshko wrote:
On 07/07/2021 03:30, 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.
What do you mean the FAQ was zero help?
[egreshko@f34k2 ~]$ rpm -qa | grep ^reds redshift-1.12-11.fc34.x86_64 redshift-gtk-1.12-11.fc34.x86_64 [egreshko@f34k2 ~]$ rpm -qa | grep geoclu geoclue2-2.5.7-2.fc34.x86_64 geoclue2-libs-2.5.7-2.fc34.x86_64
[egreshko@f34k2 ~]$ 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 1026. 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
[egreshko@f34k2 ~]$ cp /usr/share/doc/redshift/redshift.conf.sample .config/redshift.conf [egreshko@f34k2 ~]$ redshift Waiting for initial location to become available... Location: 48.10 N, 11.60 E
OK, you got some numbers. Are you really in Munich?
John P
On 07/07/2021 18:09, John Pilkington wrote:
On 06/07/2021 23:08, Ed Greshko wrote:
On 07/07/2021 03:30, 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.
What do you mean the FAQ was zero help?
[egreshko@f34k2 ~]$ rpm -qa | grep ^reds redshift-1.12-11.fc34.x86_64 redshift-gtk-1.12-11.fc34.x86_64 [egreshko@f34k2 ~]$ rpm -qa | grep geoclu geoclue2-2.5.7-2.fc34.x86_64 geoclue2-libs-2.5.7-2.fc34.x86_64
[egreshko@f34k2 ~]$ 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 1026. 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
[egreshko@f34k2 ~]$ cp /usr/share/doc/redshift/redshift.conf.sample .config/redshift.conf [egreshko@f34k2 ~]$ redshift Waiting for initial location to become available... Location: 48.10 N, 11.60 E
OK, you got some numbers. Are you really in Munich?
Well, my computer was.....if you count VPN's. :-) :-)
On 07/07/2021 18:37, Ed Greshko wrote:
OK, you got some numbers. Are you really in Munich?
Well, my computer was.....if you count VPN's. :-) :-)
Wow, what a coincidence....
While my VPN was set to Germany, to watch some sports from here in Taiwan, I just realized that the sample redsift.conf is set to use manual.
What finally clued me in was that I thought the VPN endpoint was supposed to be Frankfurt.
Oooppps...
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
On 7/12/21 4:08 AM, ToddAndMargo via users wrote:
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
Just posted:
Geoclue: Access Denied https://bugzilla.redhat.com/show_bug.cgi?id=1981569