From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GD8+GnnrKGAMTgAA0tVLHw (envelope-from ) for ; Sun, 14 Feb 2021 09:20:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MPPkFXnrKGAxVgAAbx9fmQ (envelope-from ) for ; Sun, 14 Feb 2021 09:20:57 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F28BE223FB for ; Sun, 14 Feb 2021 10:20:56 +0100 (CET) Received: from localhost ([::1]:49860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBDaJ-00039O-3p for larch@yhetil.org; Sun, 14 Feb 2021 04:20:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBDZx-00039A-VC for help-guix@gnu.org; Sun, 14 Feb 2021 04:20:35 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:40215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBDZu-0006PO-P0 for help-guix@gnu.org; Sun, 14 Feb 2021 04:20:33 -0500 Received: from localhost (unknown [46.2.225.254]) (Authenticated sender: self@gkayaalp.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 381FF100007 for ; Sun, 14 Feb 2021 09:20:23 +0000 (UTC) From: =?utf-8?Q?G=C3=B6ktu=C4=9F_Kayaalp?= To: help-guix@gnu.org Subject: Re: redshift and geoclue not working together In-Reply-To: 877dnjxs7r.fsf@gkayaalp.com Date: Sun, 14 Feb 2021 12:20:22 +0300 Message-ID: <8735xzm2eh.fsf@gkayaalp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=217.70.178.231; envelope-from=self@gkayaalp.com; helo=relay11.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.36 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: F28BE223FB X-Spam-Score: -2.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: hs64UH+SLC36 I have encountered and solved this problem on a Debian system, and posting the solution in the hopes that it=E2=80=99s useful to someone deali= ng with the same problem. Apparently you don=E2=80=99t need to fiddle with geoclue-service configurat= ion, as the user apps can=E2=80=99t connect to the service directly. Instead, y= ou need a steward process that handles the connection within the user session. I think for Gnome and Gnome-like desktop, it=E2=80=99s gnome-shell that does this, but the executable =E2=80=98geoclue-2.0/demos/agent=E2=80= =99 can do it for you for your non-Gnome desktops. You want it to run in the background. I haven=E2=80=99t tested this on a GuixSD system yet, and if there=E2=80=99= s any differences, I=E2=80=99ll report it here. Best, -gk.