[Bug 868904] Re: Redshift fails to start with session if no external location provider is available
After resuming from screen lock or suspend, Redshift stops with "unable to find location via geoclue2" or something like that. When I run it again, it works until the next lock or suspend. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868904 Title: Redshift fails to start with session if no external location provider is available To manage notifications about this bug go to: https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868904] Re: Redshift fails to start with session if no external location provider is available
The only work around I found was to configure redshift with manual location, and to have a script launched buy my window manager (I use 'mate') which automatically configures the location in the ~/.config/redshift.conf file. Like this: https://gist.github.com/ygbourhis/53f1ef5c6cb4b70ba910 So with this, redshift starts even with no network and will use the last saved position (in fact works the way it should). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868904 Title: Redshift fails to start with session if no external location provider is available To manage notifications about this bug go to: https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868904] Re: Redshift fails to start with session if no external location provider is available
I've just upgraded to 15.10 and experienced this, adding the stanza above fixed it. Below is /etc/geoclue/geoclue.conf from before I edited it - # Configuration file for Geoclue # Agent configuration options [agent] # Whitelist of desktop IDs (without .desktop part) of all agents we recognise, # separated by a ';'. whitelist=gnome-shell # WiFi source configuration options [wifi] # URL to the wifi geolocation service. The key can currenty be anything, just # needs to be present but that is likely going to change in future. url=https://location.services.mozilla.com/v1/geolocate?key=geoclue # To use the Google geolocation service instead of mozilla's, simply uncomment # this url while changing API_KEY to your Google API key and comment out or # remove the url above. # #url=https://www.googleapis.com/geolocation/v1/geolocate?key=YOUR_KEY # Submit data to Mozilla Location Service # If set to true, geoclue will automatically submit network data to Mozilla # each time it gets a GPS lock. # submit-data=false # URL to submission API of Mozilla Location Service submission-url=https://location.services.mozilla.com/v1/submit?key=geoclue # A nickname to submit network data with. This is currently used for leaderboard: # https://location.services.mozilla.com/leaders # A nickname must be 2-32 characters long. submission-nick=geoclue # Application configuration options # # Format: # # # Desktop ID of application without .desktop part # [random-app] # # # Allowed access to location information? # allowed=true|false # # # Is application a system component? # system=true|false # # # List of UIDs of all users for which this application is allowed location # # info access, separate by ';'. Keep it empty for allowing it for all users. # users= [gnome-datetime-panel] allowed=true system=true users= [epiphany] allowed=true system=false users= [epiphany-browser] allowed=true system=false users= [firefox] allowed=true system=false users= [iceweasel] allowed=true system=false users= -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868904 Title: Redshift fails to start with session if no external location provider is available To manage notifications about this bug go to: https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868904] Re: Redshift fails to start with session if no external location provider is available
Ah, it still complains about location but does seem to actually start. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868904 Title: Redshift fails to start with session if no external location provider is available To manage notifications about this bug go to: https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868904] Re: Redshift fails to start with session if no external location provider is available
** Summary changed: - Redshift fails to start with session if no external location provider in available + Redshift fails to start with session if no external location provider is available -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868904 Title: Redshift fails to start with session if no external location provider is available To manage notifications about this bug go to: https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868904] Re: Redshift fails to start with session if no external location provider in available
@inoki -- can you attach the contents of /etc/geoclue/geoclue.conf?? I have also had this problem since upgrading, and I think it's related to Geoclue's whitelisting. The redshift package should be editing /etc/geoclue/geoclue.conf to add a stanza like these: [redshift] allowed=true system=false users= [gtk-redshift] allowed=true system=false users= With this in /etc/geoclue/geoclue.conf, Redshift gets a location on startup and works correctly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868904 Title: Redshift fails to start with session if no external location provider in available To manage notifications about this bug go to: https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868904] Re: Redshift fails to start with session if no external location provider in available
Trying location provider `geoclue'... Started Geoclue provider `Geoclue Master'. Using provider `geoclue'. ** (process:21414): WARNING **: Could not get location, 3 retries left. ** (process:21414): WARNING **: Could not get location, 2 retries left. ** (process:21414): WARNING **: Could not get location, 1 retries left. ** (process:21414): WARNING **: Provider does not have a valid location available. Unable to get location from provider. 14.04.2 x64 3.16.0-38-generic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868904 Title: Redshift fails to start with session if no external location provider in available To manage notifications about this bug go to: https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868904] Re: Redshift fails to start with session if no external location provider in available
It seems the database at http://www.hostip.info/index.html is incomplete. I manually added my details and have not had a problem since. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868904 Title: Redshift fails to start with session if no external location provider in available To manage notifications about this bug go to: https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868904] Re: Redshift fails to start with session if no external location provider in available
Ubuntu 15.04 MATE -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868904 Title: Redshift fails to start with session if no external location provider in available To manage notifications about this bug go to: https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868904] Re: Redshift fails to start with session if no external location provider in available
Lubuntu 14.10, have all the packages installed: geoclue libgeoclue0 geoclue-hostip geoclue-ubuntu-geoip geoclue-yahoo Still experiencing the issue, *even if I have an internet connection* Let me know if I can invoke geoclue with more output to help diagnose. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868904 Title: Redshift fails to start with session if no external location provider in available To manage notifications about this bug go to: https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868904] Re: Redshift fails to start with session if no external location provider in available
Thanks for your comment, Igor. So how can we relay this to the upstream developers? ** Summary changed: - Redshift fails to start with session - missing dependency? (geoclue-hostip) + Redshift fails to start with session if no external location provider in available -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868904 Title: Redshift fails to start with session if no external location provider in available To manage notifications about this bug go to: https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 868904] Re: Redshift fails to start with session if no external location provider in available
I commented upstream and let a link to this ticket: https://github.com/jonls/redshift/issues/36#issuecomment-37524429 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/868904 Title: Redshift fails to start with session if no external location provider in available To manage notifications about this bug go to: https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs