From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8PV4LaklDGM7qAAAbAwnHQ (envelope-from ) for ; Mon, 29 Aug 2022 04:34:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EBFDLaklDGNGqgAAauVa8A (envelope-from ) for ; Mon, 29 Aug 2022 04:34:17 +0200 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 959B1DEAB for ; Mon, 29 Aug 2022 04:34:17 +0200 (CEST) Received: from localhost ([::1]:35606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSUbQ-0006Ee-PL for larch@yhetil.org; Sun, 28 Aug 2022 22:34:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33808) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSUbC-00064O-Ou for guix-patches@gnu.org; Sun, 28 Aug 2022 22:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSUbC-0004pL-GQ for guix-patches@gnu.org; Sun, 28 Aug 2022 22:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSUbC-00061i-CX for guix-patches@gnu.org; Sun, 28 Aug 2022 22:34:02 -0400 Subject: bug#57168: [PATCH 00/14] Add a LightDM service. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 29 Aug 2022 02:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 57168 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 57168-done@debbugs.gnu.org, Ricardo Wurmus , L p R n d n Mail-Followup-To: 57168@debbugs.gnu.org, maxim.cournoyer@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 57168-done@debbugs.gnu.org id=D57168.166174041123118 (code D ref 57168); Mon, 29 Aug 2022 02:34:02 +0000 Received: (at 57168-done) by debbugs.gnu.org; 29 Aug 2022 02:33:31 +0000 Received: from localhost ([127.0.0.1]:59811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSUag-00060n-NW for submit@debbugs.gnu.org; Sun, 28 Aug 2022 22:33:31 -0400 Received: from mail-qv1-f48.google.com ([209.85.219.48]:44795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSUac-00060X-8e for 57168-done@debbugs.gnu.org; Sun, 28 Aug 2022 22:33:28 -0400 Received: by mail-qv1-f48.google.com with SMTP id f9so1713161qvw.11 for <57168-done@debbugs.gnu.org>; Sun, 28 Aug 2022 19:33:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc; bh=6Yq4GmKe0y4dJoQJad99ZUiH1K9PFYbw/Zmq557lOb0=; b=IbAISlfyj5INvwTrx9JMsPJiYNSHcf3OSWJQTbRq8y9Nd8rY60PIcl9LRr5C78UZ62 /47jB5iT51KRy7d2sAxaeUVnc1hEg97rRgX0wFxPmcZVFWfgK5N7KzeVVbSOh+cdTnox opZVa8DoY4APOY6pPYAKpgXCiXdNLQelZ5XQcXloYb5X04IZ7WKmKCS6KL1/PFiJHNVM kz9DnnU2vn14QMfDcvmHIkIBdsn/xgYDzdablEKAmgPHoouAJb5EOBJfa2nZ1rB9/CV0 Xh8CGidpWAdbqtDUYOcFHFAjFmsk/lpp5ypFixYvZhTqfC6JDMRWRnnAQZSOQpQr6DIq 4F/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc; bh=6Yq4GmKe0y4dJoQJad99ZUiH1K9PFYbw/Zmq557lOb0=; b=3plAOFbecBQKdOm+/5oGwIu+kkiriVAbiOwhDNRbvvlwsZalMPnGPHogO8r9x0w9CR 7V4JMg2czpD5Yta5BpZu3R2dclzAgCaH0ab2lvFaVMpfDYKN0YYD8kga/Xzv6tuOBI1r CQA+MoKwuSFXvySPrthUgMQjbexcHq9yBjYo463Iw1J0rT0z/UNQwiLd90bsnWdrYhVl tosXnriMkr8PJPZn/BrQWdWKyKqLpOhG9waJi57ljsX0BcxdrPOiJWoNa+9SzSuduu4F eWGrFqBdRjMZqZl5KfRXaSOHUBSPxSW6xKNedR8Y3ynLkI1T8k67nhl14irggn0YY+4X 5SIQ== X-Gm-Message-State: ACgBeo29qQJgyh7QG7X9DHKH3SQiu6SNcTY+7VxEjChWdEsAv1h/20C2 j4q9eeHUBWgrF6X+6212N7M= X-Google-Smtp-Source: AA6agR7xHdDTGsh35mF8RTFx9jF7bydryeQ5JzJRXL082jeM12cRW4N+KNgXuvCYP/DmCJmXeNE0vw== X-Received: by 2002:ad4:5cc6:0:b0:496:da16:45e4 with SMTP id iu6-20020ad45cc6000000b00496da1645e4mr8644724qvb.42.1661740400837; Sun, 28 Aug 2022 19:33:20 -0700 (PDT) Received: from hurd (dsl-205-233-125-60.b2b2c.ca. [205.233.125.60]) by smtp.gmail.com with ESMTPSA id j7-20020a05620a410700b006bbfc742511sm5316887qko.12.2022.08.28.19.33.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Aug 2022 19:33:20 -0700 (PDT) From: Maxim Cournoyer References: <20220813065433.27319-1-maxim.cournoyer@gmail.com> <20220813065433.27319-14-maxim.cournoyer@gmail.com> <45b5b438-ad40-9d35-2b92-7a51afa2f014@telenet.be> Date: Sun, 28 Aug 2022 22:33:19 -0400 In-Reply-To: <45b5b438-ad40-9d35-2b92-7a51afa2f014@telenet.be> (Maxime Devos's message of "Fri, 26 Aug 2022 18:54:54 +0200") Message-ID: <87edwzbwy8.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661740457; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=6Yq4GmKe0y4dJoQJad99ZUiH1K9PFYbw/Zmq557lOb0=; b=gGHqmpnZPXU3QJfzx3aFfJ4r8xPrCz8S+y9xNeFYgXGdvEFO45/cKCCO1VP9pkXxayBP9v rmFJIJKfi44wDQSnADLbfsT73+2yI+8yJ5xRTX+ph4EadolDkxxFEw2GZwbt6b95nxR+WC QxyZnNLMqDpJxEoVlHaIg3Z+aEF+Lc3U3QfSLclA09QJV2FIbt/WqqZpq9YeY9PQaqs2OO J1+iIH3QcKQsuq8QJDwrHAKFsezpJUNOUTn0nD6Kpj5pXnrdB2ozHlCWURzzL+PDtaLgSZ apBYU5n41ra6WAdzfw9HSTZoXATbWzOU6hD6Rw+Nx3sJZruz3XCgu8GqY+DTJQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661740457; a=rsa-sha256; cv=none; b=Wp9GNdrj/pYfvAqrNZDtdi4a7ixeU3Vxpzld3E84jDmt+IlYtDo7OXlNVK/kY0zN3tD2Px 5k+dJF9RNSGX9o3+nJjuCNfEgShKZ4+n0ovV92ZJe53u6ouK6DeNauRor3OgqvS363MC/0 Fe19lmv2sc3j214NoKYico+AbnX3wvp1pSG7AQ79vDr2NWVpjCkDQKiLjZQRAUbkdUr3Iw GiEC3ldYOQkj+bM6Z/ndu9jrBpHYO26be6reZOzDXPLnJ6/ORxcVVULosXa7J+CmA5If83 A1/Jor9r9bIPmJiD0BE9FwEl3TaoGZfMPMbwxBdJpvfKwr0j1I+1OVg9sQp1MA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IbAISlfy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IbAISlfy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 959B1DEAB X-Spam-Score: 6.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4B29rDqojJ2l Hi Maxime, Maxime Devos writes: > For the SDDM login manager, there is the problem that ~/.profile is > not loaded and hence that the various search paths environment > variables ($PATH, $INFOPATH, ...) are not set to > ~/.guix-profile/bin/...: . > > Is this the case for lightdm? If so, maybe something similar as done > for GDM could be done here: . I just tried using: --8<---------------cut here---------------start------------->8--- $(./pre-inst-env guix system vm -e '(@@ (gnu tests lightdm) %lightdm-os)') -m 1G -smp cores=4 --8<---------------cut here---------------end--------------->8--- And this is what I saw, logging in as 'root' graphically, starting xterm and issuing: --8<---------------cut here---------------start------------->8--- root@komputilo ~# echo $PATH /run/setuid-programs:/root/.config/guix/current/bin:/root/.guix-profile/bin:/run/current-system/profile/bin:/run/current-system/profile/sbin --8<---------------cut here---------------end--------------->8--- Seems to be alright. > Could be tested with a nice system test ... What would the system test look like? 1. Login using the login manager (difficult unless using autologin -- I've tried). 2. Open a terminal, run 'echo $PATH' and run the OCR on it? That doesn't sound too great. I've pushed the series for now, feel free to experiment with it! Thanks, Maxim