LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2016, 01:44 PM   #1
louierev07
LQ Newbie
 
Registered: Jul 2016
Posts: 14

Rep: Reputation: Disabled
Redshift broken in Mint 18


Just messed up my whole install trying to fix this.

Did a clean install. After first boot I let update manager to its thing, installed nvidia driver and intel. Thats it.

After that I tired
sudo apt-get install redshift gtk-redshift

Program installs with no problem. If I try to run the program I get:

Failed to run Redshift
Trying location provider `geoclue2'...
Unable to connect to GeoClue.
Unable to get location from provider.

Anyone have any idea? Flux worked on my last install at first and then refused to start up. My eyes are about to fall out.

Thanks.
 
Old 07-29-2016, 01:55 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
Searching for "Failed to run Redshift Trying location provider" on Google returns the first hit https://bugzilla.redhat.com/show_bug.cgi?id=1207917 which suggests a fix that entails adding some lines to /etc/geoclue/geoclue.conf. Have you tried that or any other fixes mentioned on the internet yet?

More info here: https://github.com/jonls/redshift/is...mment-71329118
 
Old 07-29-2016, 02:24 PM   #3
louierev07
LQ Newbie
 
Registered: Jul 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Searching for "Failed to run Redshift Trying location provider" on Google returns the first hit https://bugzilla.redhat.com/show_bug.cgi?id=1207917 which suggests a fix that entails adding some lines to /etc/geoclue/geoclue.conf. Have you tried that or any other fixes mentioned on the internet yet?

More info here: https://github.com/jonls/redshift/is...mment-71329118
Tried it, and then messed around a little too much with geoclue before completely breaking my system. Did a fresh install and now here I am.

Hopefully someone smarter than me will have the same problem in the same situation. Like I said, pretty much fresh install of mint 18, redshift does not work and gives me that error, so im guessing its a problem with mint.

EDIT: didnt try editing config yet. How do I get to geoclue config?

Last edited by louierev07; 07-29-2016 at 02:26 PM.
 
Old 07-29-2016, 02:33 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
Quote:
Originally Posted by louierev07 View Post
Tried it, and then messed around a little too much with geoclue before completely breaking my system. Did a fresh install and now here I am.

Hopefully someone smarter than me will have the same problem in the same situation. Like I said, pretty much fresh install of mint 18, redshift does not work and gives me that error, so im guessing its a problem with mint.

EDIT: didnt try editing config yet. How do I get to geoclue config?
I'm sorry, I'm confused here. You said that you "tried it", but the primary fix I was suggesting you try is the editing of the geoclue config file (whose filepath is in my post above). What exactly was the "it" that you tried?

I suspect, given the content of the two threads I referred to, that this isn't a problem with Mint, it's a problem with geoclue. A pretty annoying one, given that it affects redshift straight from the off, but apparently a fixable one.
 
Old 07-30-2016, 12:43 AM   #5
louierev07
LQ Newbie
 
Registered: Jul 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
I'm sorry, I'm confused here. You said that you "tried it", but the primary fix I was suggesting you try is the editing of the geoclue config file (whose filepath is in my post above). What exactly was the "it" that you tried?

I suspect, given the content of the two threads I referred to, that this isn't a problem with Mint, it's a problem with geoclue. A pretty annoying one, given that it affects redshift straight from the off, but apparently a fixable one.
Pretty bad with linux, I know the basics I guess. Anyways, I tried uninstalling geoclue and reinstalling from synaptic, but that first removed the mint software center, and then it completely killed my system, and had to to a fresh install. I tried some other things, but couldnt really tell you all of them, just stuff I read online. I coukdnt figure out how to get to redshift or geoclue config.

How do I get to, and then open geoclue config? by either the terminal or using the file explorer.

EDIT: Tried looking where they said in the post, under etc/geoclue/geoclue.conf but no such file.

Even just searhed for geoclue.conf in my whole filesystem and found nothing. Searching geoclue finds other files, but no config files.

Last edited by louierev07; 07-30-2016 at 12:50 AM.
 
Old 07-30-2016, 12:53 AM   #6
louierev07
LQ Newbie
 
Registered: Jul 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Gonna try this persons sugestion:
On Linux Mint 18 64x I ran sudo apt-get install geoclue-2.0 and this worked for me now RedShift and RedShift-gtk work for me. I tried the other fixes but none of them worked. Thanks to bigon's suggestion of different versions of Geoclue in Ubuntu / Debian for the idea that led me to the fi

Hopefully it doesnt break my install again. Probably gonna cry.

EDIT: WORKED this time! I might have messed with too many settings at once last time. Can confirm that:
sudo apt-get install geoclue-2.0
works on linux mint 18.

Last edited by louierev07; 07-30-2016 at 12:58 AM.
 
Old 07-30-2016, 06:14 AM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
Great to hear that it worked! You may want to mark the thread as "Solved" using Thread Tools.

Just as an aside, I guess if the conf file didn't exist then the idea was to create it yourself. Being located under /etc, this would have required you to create the file as a superuser i.e. using sudo. Normally to do this, I would have popped sudo kate /etc/geoclue/geoclue.conf into the command line (kate is the name of the text editor I use, you may have a different one such as nano or gedit).

Anyway, all is good. Enjoy using redshift, and well done on sticking in there and solving the problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cannot Autostart Redshift Johnny_Metal Linux - Newbie 22 02-14-2016 01:51 PM
Installing redshift muciņo LinuxQuestions.org Member Intro 6 12-25-2015 08:23 AM
[SOLVED] Fix broken packages in Linux Mint kresica35 Linux - Newbie 17 07-01-2015 08:28 AM
[SOLVED] Broken packages linux mint 16 tony044 Linux - Newbie 3 05-23-2014 05:43 AM
Help with RedShift Nabeel Ubuntu 1 05-25-2010 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration