← Back to team overview

desktop-packages team mailing list archive

[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 Desktop
Packages, which is subscribed to ubuntu-geoip in Ubuntu.
https://bugs.launchpad.net/bugs/868904

Title:
  Redshift fails to start with session if no external location provider
  is available

Status in Redshift:
  Confirmed
Status in Ubuntu GeoIP:
  Confirmed
Status in redshift package in Ubuntu:
  Fix Released
Status in ubuntu-geoip package in Ubuntu:
  Confirmed

Bug description:
  Since switching to oneiric redshift won't start.  It is listed as a
  startup application and these lines are present in .xsession-error
  from it:

      Unable to get location from provider.
      Started Geoclue provider `Geoclue Master'.
     Using provider `geoclue'.

  There is also no process in a ps listing.  If I start it from the
  command prompt then it starts just fine often with substantially
  similar messages.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: redshift 1.7-0ubuntu1
  ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  Date: Wed Oct  5 22:39:15 2011
  SourcePackage: redshift
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/redshift/+bug/868904/+subscriptions