GeoClue2에서 위치 정보를 검색하기 위해 Redshift를 가져올 수 없습니다. 이제 재부팅 후 상태는 재부팅 이후 패키지나 구성이 변경되지 않은 것입니다.
GeoClue 서비스가 실행 중입니다:
$ systemctl status geoclue.service ● geoclue.service - Location Lookup Service Loaded: loaded (/usr/lib/systemd/system/geoclue.service; static; vendor preset: disabled) Active: active (running) since Wed 2018-09-05 18:49:03 NZST; 3s ago Main PID: 8489 (geoclue) Tasks: 4 (limit: 4915) Memory: 2.1M CGroup: /system.slice/geoclue.service └─8489 /usr/lib/geoclue Sep 05 18:49:03 machine systemd[1]: Starting Location Lookup Service... Sep 05 18:49:03 machine systemd[1]: Started Location Lookup Service.
패키지가 최신 상태입니다:
$ pacman --sync --info geoclue2 redshift Repository : extra Name : geoclue2 Version : 2.4.12-1 Description : Modular geoinformation service built on the D-Bus messaging system Architecture : x86_64 URL : https://www.freedesktop.org/wiki/Software/GeoClue/ Licenses : LGPL Groups : None Provides : None Depends On : libsoup json-glib libmm-glib avahi libnotify Optional Deps : None Conflicts With : geoclue Replaces : None Download Size : 154.42 KiB Installed Size : 1206.00 KiB Packager : Jan Alexander Steffens (heftig) <[email protected]> Build Date : Sun 02 Sep 2018 07:42:59 NZST Validated By : MD5 Sum SHA-256 Sum Signature Repository : community Name : redshift Version : 1.12-2 Description : Adjusts the color temperature of your screen according to your surroundings. Architecture : x86_64 URL : http://jonls.dk/redshift/ Licenses : GPL3 Groups : None Provides : None Depends On : geoclue2 libdrm libxcb libxxf86vm Optional Deps : python-gobject: for redshift-gtk python-xdg: for redshift-gtk gtk3: for redshift-gtk Conflicts With : None Replaces : None Download Size : 130.88 KiB Installed Size : 851.00 KiB Packager : Evangelos Foutras <[email protected]> Build Date : Tue 24 Jul 2018 03:19:05 NZST Validated By : MD5 Sum SHA-256 Sum Signature
GeoClue는 Redshift에서 액세스를 허용하도록 구성되었습니다.
$ tail --lines=4 /etc/geoclue/geoclue.conf [redshift] allowed=true system=false users=
그러나 Redshift가 시작되지 않습니다.
$ 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.NoReply: Message recipient disconnected from message bus without replying.
Unable to get location from provider.
사용자 서비스 쇼다른행동:
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 1000.
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.
하나 있는 것 같은데해커유사한 문제를 해결하는 데 사용될 수 있습니다. 위의 오류 메시지는 프로그램을 수동으로 시작할 때 이 페이지와 다릅니다. 그러나 보다 영구적인 수정이 가능한지 또는 작업 중인지 관심이 있습니다.
답변1
이는 GeoClue 프로그램의 알려진 문제이지만 해결되었습니다.안정적인버전 2.5.0. 이 버전으로 업그레이드하면 문제가 해결됩니다.