From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:49178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIuTg-0002BV-OS for guix-patches@gnu.org; Tue, 23 Apr 2019 08:24:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIuKE-0004qY-F4 for guix-patches@gnu.org; Tue, 23 Apr 2019 08:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39100) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIuKE-0004qT-Be for guix-patches@gnu.org; Tue, 23 Apr 2019 08:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hIuKE-0005Mb-2o for guix-patches@gnu.org; Tue, 23 Apr 2019 08:15:02 -0400 Subject: [bug#34971] [PATCH] gnu: Add mako. References: <20190324060845.7921-1-meiyo@riseup.net> In-Reply-To: <20190324060845.7921-1-meiyo@riseup.net> Resent-Message-ID: MIME-Version: 1.0 From: Stefan =?UTF-8?Q?Stefanovi=C4=87?= Date: Tue, 23 Apr 2019 12:14:48 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34971@debbugs.gnu.org Hello. AFAIK mako relies on elogind to access user DBus session daemon. elogind relies on environment variable DBUS_SESSION_BUS_ADDRESS. In my case DBUS_SESSION_BUS_ADDRESS is set to "unix:path=/run/user/1000/dbus-1/session_bus_socket". DBUS_SESSION_BUS_ADDRESS is created by user session manager. In my case it is set in a shell script by executing: echo "Starting user DBus session daemon." dbus-daemon \ --syslog --fork \ --address="${DBUS_SESSION_BUS_ADDRESS}" \ --print-pid --session This is not perfect solution but it works, for now. Please take a look at relevant elogind issue: https://github.com/elogind/elogind/issues/87 Stefan.