Unable to connect to GeoClue
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | redshift (Ubuntu) |
High
|
Unassigned | ||
Bug Description
Trying location provider `geoclue2'...
Using provider `geoclue2'.
Unable to start GeoClue client: GDBus.Error:
Unable to connect to GeoClue.
Unable to get location from provider.
I think 1.10-3ubuntu1 broke it.
I think 1.10-3 worked.
At least 1.10-2 worked. :)
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: redshift 1.10-3ubuntu1
ProcVersionSign
Uname: Linux 4.1.0-3-generic x86_64
ApportVersion: 2.18-0ubuntu6
Architecture: amd64
CurrentDesktop: GNOME-Classic:GNOME
Date: Sat Aug 15 03:01:24 2015
InstallationDate: Installed on 2013-12-26 (596 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: redshift
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Michael Terry: Approve on 2015-10-14
-
Diff: 1046 lines (+108/-795)16 files modified.pc/applied-patches (+0/-2)
.pc/remove_autostart.patch/src/redshift-gtk/statusicon.py (+0/-520)
.pc/retry-geoclue.patch/src/location-geoclue.c (+0/-217)
debian/README.Debian (+0/-24)
debian/changelog (+36/-0)
debian/control (+1/-1)
debian/gbp.conf (+2/-0)
debian/patches/add-desktop-file.patch (+34/-0)
debian/patches/retry-geoclue.patch (+8/-6)
debian/patches/series (+1/-1)
debian/redshift-gtk.docs (+0/-1)
debian/redshift-gtk.install (+2/-1)
debian/redshift.install (+1/-0)
debian/rules (+3/-2)
src/location-geoclue.c (+8/-20)
src/redshift-gtk/statusicon.py (+12/-0)
| Fred (eldmannen+launchpad) wrote : | #1 |
| Changed in redshift (Ubuntu): | |
| importance: | Undecided → Medium |
| Jackson Doak (noskcaj) wrote : | #3 |
This appears to be fixed in the new new debian release. I will merge it in about a week if no one else takes the merge
| Jackson Doak (noskcaj) wrote : | #4 |
Can someone please take this merge? It needs to be done before release, and i have no access to a machine i can do the merge on.
| tags: | added: bitesize |
| Anmar Oueja (anmar) wrote : | #5 |
Anyupdates on this guys. It is still broken and 15.10 release is drawing close.
| Jackson Doak (noskcaj) wrote : | #6 |
Marking this as high as this removes a lot of the programs functionality
| Changed in redshift (Ubuntu): | |
| status: | Confirmed → Triaged |
| importance: | Medium → High |
| Launchpad Janitor (janitor) wrote : | #7 |
This bug was fixed in the package redshift - 1.10-5ubuntu1
---------------
redshift (1.10-5ubuntu1) wily; urgency=low
* Merge from Debian. (LP: #1485153) Remaining changes:
- debian/rules: Add --enable-ubuntu
- debian/
redshift does not explode at startup.
redshift (1.10-5) unstable; urgency=medium
* [8a88246] Add some changes from Laurent Bigonville
* [ca45b49] Drop README.Debian
* [4b34f2c] Add header to quilt patch
* [9e854c4] Add debian/gbp.conf
redshift (1.10-4) unstable; urgency=medium
* [c3cdd0e] Drop patch remove_
* [47e94ba] Ship appdata file in redshift-gtk.
Thanks to Laurent Bigonville (Closes: #791600)
* [3a6b76d] Fix reference to correct name.
Thanks to Torquil Macdonal Sorensen (Closes: #795502)
* [26605bd] Add redshift.desktop file entry. Needed for GeoClue activation.
Thanks to Laurent Bigonville (Closes: #789883)
* [536ef7e] Add dh-autoreconf to build. Drop autotools_dev from build.
Call intltoolize to update po/ files
* [4983734] Ship redshift.desktop file
* [a1397f2] Add configure flag for systemd user unit dir
* [fb6fb18] Add redshift-
in the redshift.desktop patch
-- Jackson Doak <email address hidden> Thu, 15 Oct 2015 06:10:29 +1100
| Changed in redshift (Ubuntu): | |
| status: | Triaged → Fix Released |
| Fred (eldmannen+launchpad) wrote : | #8 |
Using version 1.10-5ubuntu1.
It does not seem fixed.
$ redshift
Trying location provider `geoclue2'...
Using provider `geoclue2'.
Unable to start GeoClue client: GDBus.Error:
Unable to connect to GeoClue.
Unable to get location from provider.
| Sander (sanderth) wrote : | #9 |
Confirming that this bug is not fixed in version 1.10-5ubuntu1 (wily).
This bug is also listed on the Fedora bugtracker, for reference, see: https:/
The quick-fix noted on that page also works for Ubuntu:
Can be fixed by adding
"[redshift]
allowed=true
system=false
users="
to /etc/geoclue/
The bug is not fixed on 15.10 on date 2016-05-08 (May, 8) with latest version
| Daniel Stoni (stoni.ch) wrote : | #11 |
It's still the same with 16.04. Please investigate. Thank you
| Miguel Romão (romao-miguel) wrote : | #12 |
I have this bug on Ubuntu Gnome 16.04
| Jean Claveau (jean-claveau-g) wrote : | #13 |
I had the same error with 16.10 then realized that my user actually hadn't the access to geoloc service anymore. I re-enabled it in Settings -> Privacy -> Location Services.
This just occurs just after I needed a killall to end redshift so I wonder if this killing produced a something bad with the access to the geoloc.
It would be simpler if redshift could ask for Location Service activation instead of throwing an error.
| Luc Pi (oluc) wrote : | #14 |
I fully second the previous comment #13 :
- still in 16.10
- started by the session, it works perfectly
- started "by hand", it fails and throws the geoclue error
- enabling "Settings -> Privacy -> Location Services" makes it work again
There are 2 bugs (IMHO)
1. there is no reason why it would work from the session but not when started by hand
2. redshift-gtk should be more friendly about the error and suggest a solution.


Status changed to 'Confirmed' because the bug affects multiple users.