Re: How do I start geoclue as a user?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 terminal....and 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux