Re: How do I start geoclue as a user?
On 11/13/18 10:25 AM, ToddAndMargo via users wrote: > Works perfectly. > > And my black background error is gone too Good I only use Xfce in VM's for testing purposes and always do fresh installs. I don't know if the version of Xfce changed from F28 to F29, but when KDE went from KDE3 to KDE4 it was a painful experience. No provisions were made to check configuration files for apps or the desktop environment. -- Fedora Users - The place to go to beat OT dead horses :-) :-) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/11/18 11:48 PM, Samuel Sieb wrote: On 11/11/18 3:07 PM, ToddAndMargo via users wrote: On 11/10/18 11:04 PM, Joe Zeff wrote: On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: Redshift does give me that prompt, them I get a message that there was a permission issue with geoclue2 What is the exact error message and what are the permissions for geoclue2? Agent rejected 'redshift' for user '500' What desktop are you using? Xfce 4.13 What version of redshift and geoclue2 do you have? Geoclue requires an agent for permission handling. The desktop environment is supposed to handle that. You could try running /usr/libexec/geoclue-2.0/demos/agent and see if that helps. Is this a system that has been upgraded for a very long time and your user id is 500? $ rpm -qa redshift redshift-1.12-2.fc29.x86_64 $ rpm -qa geoclue2 geoclue2-2.4.13-1.fc29.x86_64 And its works under a different/new profile. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/12/18 5:51 PM, ToddAndMargo via users wrote: On 11/12/18 4:06 AM, Ed Greshko wrote: On 11/12/18 7:14 PM, ToddAndMargo via users wrote: On 11/11/18 3:36 PM, Ed Greshko wrote: On 11/12/18 7:07 AM, ToddAndMargo via users wrote: On 11/10/18 11:04 PM, Joe Zeff wrote: On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: Redshift does give me that prompt, them I get a message that there was a permission issue with geoclue2 What is the exact error message and what are the permissions for geoclue2? Agent rejected 'redshift' for user '500' Full error message: https://ibb.co/gNc8aA Is the UID of the user trying to start redsift 500? yes. I am 500:100 Well, I created a user also with 500:100 on an F29 system with Xfce as the DE. No problem to run redshift. redshift-1.12-2.fc29.x86_64 geoclue2-2.4.13-1.fc29.x86_64 Your versions? $ rpm -qa redshift redshift-1.12-2.fc29.x86_64 $ rpm -qa geoclue2 geoclue2-2.4.13-1.fc29.x86_64 I need to try a different profile. Works perfectly. And my black background error is gone too ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/13/18 9:51 AM, ToddAndMargo via users wrote: >> Well, I created a user also with 500:100 on an F29 system with Xfce as the >> DE. No problem >> to run redshift. >> >> redshift-1.12-2.fc29.x86_64 >> geoclue2-2.4.13-1.fc29.x86_64 >> >> Your versions? >> > > > $ rpm -qa redshift > redshift-1.12-2.fc29.x86_64 > > $ rpm -qa geoclue2 > geoclue2-2.4.13-1.fc29.x86_64 > > I need to try a different profile. You may also want to check your /etc/geoclue/geoclue.conf file. Mine is... [agent] whitelist=geoclue-demo-agent;gnome-shell;io.elementary.desktop.agent-geoclue2 [network-nmea] enable=true [3g] enable=true [cdma] enable=true [modem-gps] enable=true [wifi] enable=true url=https://location.services.mozilla.com/v1/geolocate?key=geoclue submit-data=false submission-url=https://location.services.mozilla.com/v1/submit?key=geoclue submission-nick=geoclue [gnome-datetime-panel] allowed=true system=true users= [gnome-color-panel] allowed=true system=true users= [org.gnome.Shell] allowed=true system=true users= [io.elementary.desktop.agent-geoclue2] allowed=true system=true users= [epiphany] allowed=true system=false users= [firefox] allowed=true system=false users= -- Fedora Users - The place to go to beat OT dead horses :-) :-) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/12/18 4:06 AM, Ed Greshko wrote: On 11/12/18 7:14 PM, ToddAndMargo via users wrote: On 11/11/18 3:36 PM, Ed Greshko wrote: On 11/12/18 7:07 AM, ToddAndMargo via users wrote: On 11/10/18 11:04 PM, Joe Zeff wrote: On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: Redshift does give me that prompt, them I get a message that there was a permission issue with geoclue2 What is the exact error message and what are the permissions for geoclue2? Agent rejected 'redshift' for user '500' Full error message: https://ibb.co/gNc8aA Is the UID of the user trying to start redsift 500? yes. I am 500:100 Well, I created a user also with 500:100 on an F29 system with Xfce as the DE. No problem to run redshift. redshift-1.12-2.fc29.x86_64 geoclue2-2.4.13-1.fc29.x86_64 Your versions? $ rpm -qa redshift redshift-1.12-2.fc29.x86_64 $ rpm -qa geoclue2 geoclue2-2.4.13-1.fc29.x86_64 I need to try a different profile. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/11/18 3:44 PM, Joe Zeff wrote: On 11/11/2018 04:07 PM, ToddAndMargo via users wrote: On 11/10/18 11:04 PM, Joe Zeff wrote: On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: Redshift does give me that prompt, them I get a message that there was a permission issue with geoclue2 What is the exact error message and what are the permissions for geoclue2? Agent rejected 'redshift' for user '500' Full error message: https://ibb.co/gNc8aA Thank you. Have you checked the faq that's referenced in the error messages, and if so, what did you find? Why does GeoClue fail with access denied error? It is possible that the location services have been disabled completely. The check for this case varies by desktop environment. For example, in GNOME the location services can be toggled in Settings > Privacy > Location Services. If this is not the case, it is possible that Redshift has been improperly installed or not been given the required permissions to obtain location updates from a system administrator. See https://github.com/jonls/redshift/issues/318 for further discussion on this issue. Also, what are the permissions on geoclue2? $ ls -al /usr/lib/systemd/system/geoclue.service -rw-r--r--. 1 root root 468 Oct 14 11:59 /usr/lib/systemd/system/geoclue.service ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/13/18 1:41 AM, Joe Zeff wrote: > Yes, of course I am. Odd. I'm not the one having any issues. -- Fedora Users - The place to go to beat OT dead horses :-) :-) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/12/2018 04:15 AM, ToddAndMargo via users wrote: On 11/11/18 10:05 PM, Joe Zeff wrote: On 11/11/2018 10:49 PM, Ed Greshko wrote: I just verified that that is not a problem since I created a user with UID=500 and redshift worked just fine. Use grep 500 /etc/passwd to see if there's more than one user with that UID. If there is, it may not be in the proper group, although I can't imagine why that would be. Just one Good. That's one more possible cause eliminated. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/11/2018 11:46 PM, Ed Greshko wrote: You're not asking me to do that, right? Yes, of course I am. Those numbers are reserved for the system, and some package might be using it. Unlikely, but possible. FWIW, it is rather "hard" to add 2 users with the same UID. You'd have to know to include either -o or --non-unique to the adduser command. Even so, glitches can happen and it only takes a few seconds to check. You'd also need a deliberate act to add user's with UID of less than 1000 since the default is not to create users with UID of greater than 1000. Unless, this is an upgraded system. I've not tried any of the various GUI to see if one can force lower numbers. Well, you managed, didn't you? And I'm concerned about the possibility that a package created that account for valid reasons, but it's now causing a conflict. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/12/18 7:14 PM, ToddAndMargo via users wrote: > On 11/11/18 3:36 PM, Ed Greshko wrote: >> On 11/12/18 7:07 AM, ToddAndMargo via users wrote: >>> On 11/10/18 11:04 PM, Joe Zeff wrote: On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: > > Redshift does give me that prompt, them I get a message that > there was a permission issue with geoclue2 What is the exact error message and what are the permissions for geoclue2? >>> >>> >>> Agent rejected 'redshift' for user '500' >>> >>> Full error message: >>> https://ibb.co/gNc8aA >> >> Is the UID of the user trying to start redsift 500? >> > > yes. I am 500:100 > Well, I created a user also with 500:100 on an F29 system with Xfce as the DE. No problem to run redshift. redshift-1.12-2.fc29.x86_64 geoclue2-2.4.13-1.fc29.x86_64 Your versions? -- Fedora Users - The place to go to beat OT dead horses :-) :-) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/11/18 10:05 PM, Joe Zeff wrote: On 11/11/2018 10:49 PM, Ed Greshko wrote: I just verified that that is not a problem since I created a user with UID=500 and redshift worked just fine. Use grep 500 /etc/passwd to see if there's more than one user with that UID. If there is, it may not be in the proper group, although I can't imagine why that would be. Just one ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/11/18 3:36 PM, Ed Greshko wrote: On 11/12/18 7:07 AM, ToddAndMargo via users wrote: On 11/10/18 11:04 PM, Joe Zeff wrote: On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: Redshift does give me that prompt, them I get a message that there was a permission issue with geoclue2 What is the exact error message and what are the permissions for geoclue2? Agent rejected 'redshift' for user '500' Full error message: https://ibb.co/gNc8aA Is the UID of the user trying to start redsift 500? yes. I am 500:100 -- ~~ Computers are like air conditioners. They malfunction when you open windows ~~ ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/11/18 3:07 PM, ToddAndMargo via users wrote: On 11/10/18 11:04 PM, Joe Zeff wrote: On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: Redshift does give me that prompt, them I get a message that there was a permission issue with geoclue2 What is the exact error message and what are the permissions for geoclue2? Agent rejected 'redshift' for user '500' What desktop are you using? What version of redshift and geoclue2 do you have? Geoclue requires an agent for permission handling. The desktop environment is supposed to handle that. You could try running /usr/libexec/geoclue-2.0/demos/agent and see if that helps. Is this a system that has been upgraded for a very long time and your user id is 500? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/12/18 2:05 PM, Joe Zeff wrote: > On 11/11/2018 10:49 PM, Ed Greshko wrote: >> I just verified that that is not a problem since I created a user with >> UID=500 and >> redshift worked just fine. > > Use grep 500 /etc/passwd to see if there's more than one user with that UID. > If there > is, it may not be in the proper group, although I can't imagine why that > would be. > You're not asking me to do that, right? FWIW, it is rather "hard" to add 2 users with the same UID. You'd have to know to include either -o or --non-unique to the adduser command. You'd also need a deliberate act to add user's with UID of less than 1000 since the default is not to create users with UID of greater than 1000. Unless, this is an upgraded system. I've not tried any of the various GUI to see if one can force lower numbers. -- Fedora Users - The place to go to beat OT dead horses :-) :-) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/11/2018 10:49 PM, Ed Greshko wrote: I just verified that that is not a problem since I created a user with UID=500 and redshift worked just fine. Use grep 500 /etc/passwd to see if there's more than one user with that UID. If there is, it may not be in the proper group, although I can't imagine why that would be. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/12/18 1:49 PM, Ed Greshko wrote: > On 11/12/18 7:36 AM, Ed Greshko wrote: >> On 11/12/18 7:07 AM, ToddAndMargo via users wrote: >>> On 11/10/18 11:04 PM, Joe Zeff wrote: On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: > Redshift does give me that prompt, them I get a message that > there was a permission issue with geoclue2 What is the exact error message and what are the permissions for geoclue2? >>> Agent rejected 'redshift' for user '500' >>> >>> Full error message: >>> https://ibb.co/gNc8aA >> Is the UID of the user trying to start redsift 500? >> > I just verified that that is not a problem since I created a user with > UID=500 and > redshift worked just fine. > > I did verify that I will get the error message you've shown if > /usr/libexec/geoclue-2.0/demos/agent is not running. > Well, maybe the error message is somewhat different. I've starting redshift from the command line after killing the agent and the message is [maria@f29b-xfce ~]$ redshift Trying location provider `geoclue2'... Using provider `geoclue2'. Using method `randr'. Waiting for initial location to become available... Unable to start GeoClue client: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: 'redshift' disallowed, no agent for UID 500. Access to the current location was denied by GeoClue! Make sure that location services are enabled and that Redshift is permitted to use location services. See https://github.com/jonls/redshift#faq for more information. Unable to get location from provider. So, I get "no agent for UID 500" and your error message is "Agent rejected 'redshift' for user '500". Hummm. -- Fedora Users - The place to go to beat OT dead horses :-) :-) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/12/18 7:36 AM, Ed Greshko wrote: > On 11/12/18 7:07 AM, ToddAndMargo via users wrote: >> On 11/10/18 11:04 PM, Joe Zeff wrote: >>> On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: Redshift does give me that prompt, them I get a message that there was a permission issue with geoclue2 >>> What is the exact error message and what are the permissions for geoclue2? >> >> Agent rejected 'redshift' for user '500' >> >> Full error message: >> https://ibb.co/gNc8aA > Is the UID of the user trying to start redsift 500? > I just verified that that is not a problem since I created a user with UID=500 and redshift worked just fine. I did verify that I will get the error message you've shown if /usr/libexec/geoclue-2.0/demos/agent is not running. -- Fedora Users - The place to go to beat OT dead horses :-) :-) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/11/2018 04:07 PM, ToddAndMargo via users wrote: On 11/10/18 11:04 PM, Joe Zeff wrote: On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: Redshift does give me that prompt, them I get a message that there was a permission issue with geoclue2 What is the exact error message and what are the permissions for geoclue2? Agent rejected 'redshift' for user '500' Full error message: https://ibb.co/gNc8aA Thank you. Have you checked the faq that's referenced in the error messages, and if so, what did you find? Also, what are the permissions on geoclue2? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/12/18 7:07 AM, ToddAndMargo via users wrote: > On 11/10/18 11:04 PM, Joe Zeff wrote: >> On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: >>> >>> Redshift does give me that prompt, them I get a message that >>> there was a permission issue with geoclue2 >> >> What is the exact error message and what are the permissions for geoclue2? > > > Agent rejected 'redshift' for user '500' > > Full error message: > https://ibb.co/gNc8aA Is the UID of the user trying to start redsift 500? -- Fedora Users - The place to go to beat OT dead horses :-) :-) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/10/18 11:04 PM, Joe Zeff wrote: On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: Redshift does give me that prompt, them I get a message that there was a permission issue with geoclue2 What is the exact error message and what are the permissions for geoclue2? Agent rejected 'redshift' for user '500' Full error message: https://ibb.co/gNc8aA ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On Sun, 2018-11-11 at 10:12 -0700, Joe Zeff wrote: > On 11/11/2018 02:28 AM, Ed Greshko wrote: > > [egreshko@meimei ~]$ ps -eaf | grep geoclue > > egreshko 1691 1 0 Nov10 ?00:00:00 > > /usr/libexec/geoclue-2.0/demos/agent > > egreshko 5684 2503 0 17:25 pts/300:00:00 grep --color=auto geoclue > > Try adding | grep -v grep to the end of that to get rid of the extra line. Or use pgrep. poc ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
Joe Zeff wrote: > On 11/11/2018 02:28 AM, Ed Greshko wrote: >> [egreshko@meimei ~]$ ps -eaf | grep geoclue >> egreshko 1691 1 0 Nov10 ? 00:00:00 >> /usr/libexec/geoclue-2.0/demos/agent >> egreshko 5684 2503 0 17:25 pts/3 00:00:00 grep --color=auto geoclue > > Try adding | grep -v grep to the end of that to get rid of the extra line. An alternative which doesn't require the extra pipe and grep is to add brackets to the initial grep: ps -eaf | grep [g]eoclue But for this particular case, I generally use pgrep instead of ps | grep. -- Todd ~~ Absurdity, n. A statement or belief manifestly inconsistent with one's own opinion. -- Ambrose Bierce, "The Devil's Dictionary" signature.asc Description: PGP signature ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/11/2018 02:28 AM, Ed Greshko wrote: [egreshko@meimei ~]$ ps -eaf | grep geoclue egreshko 1691 1 0 Nov10 ? 00:00:00 /usr/libexec/geoclue-2.0/demos/agent egreshko 5684 2503 0 17:25 pts/3 00:00:00 grep --color=auto geoclue Try adding | grep -v grep to the end of that to get rid of the extra line. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/11/18 2:36 PM, ToddAndMargo via users wrote: > On 11/10/18 10:00 PM, Samuel Sieb wrote: >> On 11/10/18 7:32 PM, ToddAndMargo via users wrote: >>> systemctl start geoclue >>> >>> Anything special I have to do to it to allow standard >>> users to start it? >> >> You don't. >> >>> $ ls -al /usr/lib/systemd/system/geoclue.service >>> -rw-r--r--. 1 root root 468 Oct 14 11:59 >>> /usr/lib/systemd/system/geoclue.service >> >> If you look in that file, you'll see that it's a dbus activated service. >> It's not >> intended for manual startup. It will run when requested. > > Indeed that is the idea. > > Redshift does this and bombs with a message > that geoclue does not have permission. > > > $ ls -al /usr/libexec/geoclue > -rwxr-xr-x. 1 root root 313368 Oct 14 11:59 /usr/libexec/geoclue > > $ /usr/libexec/geoclue > > (geoclue:23024): Geoclue-CRITICAL **: 22:34:01.971: Failed to acquire name > 'org.freedesktop.GeoClue2' on system bus or lost it. > > That is not started by the user directly Using 2 terminal sessions. [egreshko@meimei ~]$ ps -eaf | grep geoclue egreshko 1691 1 0 Nov10 ? 00:00:00 /usr/libexec/geoclue-2.0/demos/agent egreshko 5684 2503 0 17:25 pts/3 00:00:00 grep --color=auto geoclue then I start redshift in another terminaland after a bit I get a popup asking permission for redshift to know my location [egreshko@meimei ~]$ redshift Trying location provider `geoclue2'... Using provider `geoclue2'. Using method `randr'. Waiting for initial location to become available... Location: 25.05 N, 121.53 E and [egreshko@meimei ~]$ ps -eaf | grep geoclue egreshko 1691 1 0 Nov10 ? 00:00:00 /usr/libexec/geoclue-2.0/demos/agent geoclue 5713 1 0 17:26 ? 00:00:00 /usr/libexec/geoclue egreshko 5735 2503 0 17:27 pts/3 00:00:00 grep --color=auto geoclu -- Fedora Users - The place to go to beat OT dead horses :-) :-) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/10/18 11:04 PM, Joe Zeff wrote: On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: Redshift does give me that prompt, them I get a message that there was a permission issue with geoclue2 What is the exact error message and what are the permissions for geoclue2? It is acting weird at the moment. I will try to write it down tomorrow when I boot up. I think it has my location cached somewhere. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/10/2018 11:30 PM, ToddAndMargo via users wrote: Redshift does give me that prompt, them I get a message that there was a permission issue with geoclue2 What is the exact error message and what are the permissions for geoclue2? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/10/18 10:57 PM, Samuel Sieb wrote: On 11/10/18 10:36 PM, ToddAndMargo via users wrote: Redshift does this and bombs with a message that geoclue does not have permission. (geoclue:23024): Geoclue-CRITICAL **: 22:34:01.971: Failed to acquire name 'org.freedesktop.GeoClue2' on system bus or lost it. The above with or with geoclue.service running Did you check the journal? No, I will look up the command later. journalctl or something or other. I have it written down. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/10/18 10:36 PM, ToddAndMargo via users wrote: Redshift does this and bombs with a message that geoclue does not have permission. (geoclue:23024): Geoclue-CRITICAL **: 22:34:01.971: Failed to acquire name 'org.freedesktop.GeoClue2' on system bus or lost it. The above with or with geoclue.service running Did you check the journal? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/10/18 10:00 PM, Samuel Sieb wrote: On 11/10/18 7:32 PM, ToddAndMargo via users wrote: systemctl start geoclue Anything special I have to do to it to allow standard users to start it? You don't. $ ls -al /usr/lib/systemd/system/geoclue.service -rw-r--r--. 1 root root 468 Oct 14 11:59 /usr/lib/systemd/system/geoclue.service If you look in that file, you'll see that it's a dbus activated service. It's not intended for manual startup. It will run when requested. Indeed that is the idea. Redshift does this and bombs with a message that geoclue does not have permission. $ ls -al /usr/libexec/geoclue -rwxr-xr-x. 1 root root 313368 Oct 14 11:59 /usr/libexec/geoclue $ /usr/libexec/geoclue (geoclue:23024): Geoclue-CRITICAL **: 22:34:01.971: Failed to acquire name 'org.freedesktop.GeoClue2' on system bus or lost it. The above with or with geoclue.service running ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/10/18 9:52 PM, Ed Greshko wrote: On 11/11/18 1:08 PM, ToddAndMargo via users wrote: On 11/10/18 9:00 PM, Ed Greshko wrote: On 11/11/18 12:48 PM, ToddAndMargo via users wrote: That is a good workaround. Or just wait for the Xfce Policy Kit to prompt. But they should be able to be started under certain conditions by regular users Saned for instance. I've not used that service. But, 2 things I don't know who your users are, but you may not want to give them blanket privileges to run systemctl Is the service a "resource hog" such that it will impact system performance if it is just started normally at boot? If you try to set it up to start at boot, you get: # systemctl enable geoclue The unit files have no installation config (WantedBy, RequiredBy, Also, Alias settings in the [Install] section, and DefaultInstance for template units). This means they are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. 2) A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it. 3) A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...). 4) In case of template units, the unit is meant to be enabled with some instance name specified. So it is suppose to fire up and die. I that with saned, that you can give certain services start up rights to users It seems that geoclue isn't meant to be started directly but by an application needing geolocation services. An example of this is "redshift". If you run "redshift" it will then start /usr/libexec/geoclue and the user will get a prompt on the desktop to say if they want the application to have access to the system's location. I don't use saned and don't know if it is intended to be geolocation aware. Funny you should say redshift, as that is the app I am having issues with. Redshift works perfectly if I start geoclue as root. Redshift does give me that prompt, them I get a message that there was a permission issue with geoclue2 ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/10/18 7:32 PM, ToddAndMargo via users wrote: systemctl start geoclue Anything special I have to do to it to allow standard users to start it? You don't. $ ls -al /usr/lib/systemd/system/geoclue.service -rw-r--r--. 1 root root 468 Oct 14 11:59 /usr/lib/systemd/system/geoclue.service If you look in that file, you'll see that it's a dbus activated service. It's not intended for manual startup. It will run when requested. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/11/18 1:08 PM, ToddAndMargo via users wrote: > On 11/10/18 9:00 PM, Ed Greshko wrote: >> On 11/11/18 12:48 PM, ToddAndMargo via users wrote: >>> That is a good workaround. Or just wait for the Xfce Policy Kit to prompt. >>> >>> But they should be able to be started under certain conditions >>> by regular users Saned for instance. >> >> I've not used that service. But, 2 things >> >> I don't know who your users are, but you may not want to give them blanket >> privileges to >> run systemctl >> >> Is the service a "resource hog" such that it will impact system performance >> if it is just >> started normally at boot? >> > > If you try to set it up to start at boot, you get: > > > # systemctl enable geoclue > The unit files have no installation config (WantedBy, RequiredBy, Also, Alias > settings in the [Install] section, and DefaultInstance for template units). > This means they are not meant to be enabled using systemctl. > Possible reasons for having this kind of units are: > 1) A unit may be statically enabled by being symlinked from another unit's > .wants/ or .requires/ directory. > 2) A unit's purpose may be to act as a helper for some other unit which has > a requirement dependency on it. > 3) A unit may be started when needed via activation (socket, path, timer, > D-Bus, udev, scripted systemctl call, ...). > 4) In case of template units, the unit is meant to be enabled with some > instance name specified. > > So it is suppose to fire up and die. > > I that with saned, that you can give certain services start up rights > to users > It seems that geoclue isn't meant to be started directly but by an application needing geolocation services. An example of this is "redshift". If you run "redshift" it will then start /usr/libexec/geoclue and the user will get a prompt on the desktop to say if they want the application to have access to the system's location. I don't use saned and don't know if it is intended to be geolocation aware. -- Fedora Users - The place to go to beat OT dead horses :-) :-) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/10/18 9:00 PM, Ed Greshko wrote: On 11/11/18 12:48 PM, ToddAndMargo via users wrote: That is a good workaround. Or just wait for the Xfce Policy Kit to prompt. But they should be able to be started under certain conditions by regular users Saned for instance. I've not used that service. But, 2 things I don't know who your users are, but you may not want to give them blanket privileges to run systemctl Is the service a "resource hog" such that it will impact system performance if it is just started normally at boot? If you try to set it up to start at boot, you get: # systemctl enable geoclue The unit files have no installation config (WantedBy, RequiredBy, Also, Alias settings in the [Install] section, and DefaultInstance for template units). This means they are not meant to be enabled using systemctl. Possible reasons for having this kind of units are: 1) A unit may be statically enabled by being symlinked from another unit's .wants/ or .requires/ directory. 2) A unit's purpose may be to act as a helper for some other unit which has a requirement dependency on it. 3) A unit may be started when needed via activation (socket, path, timer, D-Bus, udev, scripted systemctl call, ...). 4) In case of template units, the unit is meant to be enabled with some instance name specified. So it is suppose to fire up and die. I that with saned, that you can give certain services start up rights to users ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
On 11/11/18 12:48 PM, ToddAndMargo via users wrote: > That is a good workaround. Or just wait for the Xfce Policy Kit to prompt. > > But they should be able to be started under certain conditions > by regular users Saned for instance. I've not used that service. But, 2 things I don't know who your users are, but you may not want to give them blanket privileges to run systemctl Is the service a "resource hog" such that it will impact system performance if it is just started normally at boot? -- Fedora Users - The place to go to beat OT dead horses :-) :-) ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
> ‐‐‐ Original Message ‐‐‐ > On Sunday, November 11, 2018 9:02 AM, ToddAndMargo via users wrote: > >> Hi All, >> >> systemctl start geoclue >> >> Anything special I have to do to it to allow standard >> users to start it? >> >> $ ls -al /usr/lib/systemd/system/geoclue.service >> -rw-r--r--. 1 root root 468 Oct 14 11:59 >> /usr/lib/systemd/system/geoclue.service >> >> Many thanks, >> -T On 11/10/18 8:11 PM, finn via users wrote: Add that User to sudo group and then use `sudo systemctl start geoclue` because normal users can't modify system configuration. That is a good workaround. Or just wait for the Xfce Policy Kit to prompt. But they should be able to be started under certain conditions by regular users Saned for instance. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Re: How do I start geoclue as a user?
Add that User to sudo group and then use `sudo systemctl start geoclue` because normal users can't modify system configuration. ‐‐‐ Original Message ‐‐‐ On Sunday, November 11, 2018 9:02 AM, ToddAndMargo via users wrote: > Hi All, > > systemctl start geoclue > > Anything special I have to do to it to allow standard > users to start it? > > $ ls -al /usr/lib/systemd/system/geoclue.service > -rw-r--r--. 1 root root 468 Oct 14 11:59 > /usr/lib/systemd/system/geoclue.service > > Many thanks, > -T ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
How do I start geoclue as a user?
Hi All, systemctl start geoclue Anything special I have to do to it to allow standard users to start it? $ ls -al /usr/lib/systemd/system/geoclue.service -rw-r--r--. 1 root root 468 Oct 14 11:59 /usr/lib/systemd/system/geoclue.service Many thanks, -T -- A computer without Microsoft is like a chocolate cake without the mustard ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org