I've recently started using f.lux and settled on this program for when
I'm using Linux. I ran into this and investigated  the issue a bit. It
appears that the problem is hostip.info simply isn't reliable. Geoclue
via hostip was working fine until my ability to reach the server ended.
I assume the problem lies with hostip server and when it cannot even
establish a connection geoclueinstantly fails rather than ping it on
some schedule.

For those wanting to use this program reliably without having to depend
on either geoclue OR gnome-clock as a location provider, I'd recommend
manual configuration. You can do this using the legacy manual lat/lon
command. Find your current location using another service such as
http://www.itouchmap.com/latlong.html. Some people above seemed confused
by the format for redshift's manual command, it follows standard +/-
notation where +latitude is north and - latitude is south and +
longitude is east while -longitude is west.

Command example:
redshift -t 6500:3400 -l 43.63:-79.33 &

The above command starts redshift with coordinates for Toronto area of
Canada, I have also provided new defaults for daytime/night color values
(same values as f.lux) with -t. The & makes the process execute in the
background.

Likely redshift should find a more reliable internet mechanism than
hostip.info for the future though it isn't really the programs fault.

As a final note, if you are like me and don't want to have to execute
that on each reboot. I'd advise putting that in a tiny script and having
it execute on startup via whatever startup manager/process your flavor
of Ubuntu uses.

-- 
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 due to geoclue failure

Status in Redshift color temperature adjustment:
  Confirmed
Status in Ubuntu GeoIP Provider:
  New
Status in “redshift” package in Ubuntu:
  Fix Released
Status in “ubuntu-geoip” package in Ubuntu:
  Confirmed
Status in “redshift” source package in Oneiric:
  Confirmed
Status in “ubuntu-geoip” source package in Oneiric:
  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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to