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 EJl1E93MgmIIZAAAbAwnHQ (envelope-from ) for ; Tue, 17 May 2022 00:14:53 +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 GLdUE93MgmIgKwEAauVa8A (envelope-from ) for ; Tue, 17 May 2022 00:14:53 +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 CE51433267 for ; Tue, 17 May 2022 00:14:52 +0200 (CEST) Received: from localhost ([::1]:40508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqizL-0008Tq-Uy for larch@yhetil.org; Mon, 16 May 2022 18:14:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqiSc-0005Q0-PY for bug-guix@gnu.org; Mon, 16 May 2022 17:41:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33065) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqiSc-0006bk-GV for bug-guix@gnu.org; Mon, 16 May 2022 17:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqiSc-0006PA-EK for bug-guix@gnu.org; Mon, 16 May 2022 17:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55391: Multiple slim services Resent-From: =?UTF-8?Q?Andr=C3=A9?= A. Gomes Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 16 May 2022 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55391 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55391@debbugs.gnu.org Cc: dev@jpoiret.xyz X-Debbugs-Original-To: Josselin Poiret via Bug reports for GNU Guix X-Debbugs-Original-Cc: Josselin Poiret , 55391@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165273721124526 (code B ref -1); Mon, 16 May 2022 21:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 May 2022 21:40:11 +0000 Received: from localhost ([127.0.0.1]:55187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqiRm-0006NV-9A for submit@debbugs.gnu.org; Mon, 16 May 2022 17:40:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:35498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqiRi-0006NE-V6 for submit@debbugs.gnu.org; Mon, 16 May 2022 17:40:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqiRi-0004PM-My for bug-guix@gnu.org; Mon, 16 May 2022 17:40:06 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:44656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqiRg-00069A-N4 for bug-guix@gnu.org; Mon, 16 May 2022 17:40:06 -0400 Received: by mail-wm1-x332.google.com with SMTP id k126-20020a1ca184000000b003943fd07180so308760wme.3 for ; Mon, 16 May 2022 14:39:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=vkFI4hVmWKYTxSfVCbQvMm7QynbRmK4kdTCmaP7iWXs=; b=ihxxlagK700jz8IYNlHVMxQcEMdBrgbJbrBIj0ZSOP5uShv5umnG/0zsj5K8Fl+c6c g9ygU2g5CgZ43sy3ri3EdyXigbEbgXg4MtYfPiOmCYtZ/mFHIGRl5obIkHWC8vzSlY00 v/6f0BSRXDvmsFV3swe+8oS+bnvKqUL+U0RgN1LAcPfJbZ/Ol5Nt03PDTpTS38HCAk50 aB9I6ba04SUbXGHuOP7zynZmi0o9Y0u7es81acJPK+QlTlbnEOPx8iVA/OCBF7vpxjUf tzT4PIMkIXRDsQo6PNddgUvA/YupdsDOCooMb8XeJDHt+7bExF51x05I4avMXqkTmqyp pIbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=vkFI4hVmWKYTxSfVCbQvMm7QynbRmK4kdTCmaP7iWXs=; b=l6B/zUaQ31Ww0WjH9ko3mDlFxqWS9B5wzdDe3ezJCsqvxCFxxWqm2k1jh06+KQ88n6 x5LIVP8RBYM07dWO+SD/4Pr7E9e9IFzwxs9Z6sXq6SUjfc7dKLtH/PB8wap3sMGk98Er 7s1gJcM3bCxT+flRKSJsh8kMfYWWOWwgerqqBC3376iqH32K4tHp02lmSUtpHqV19jFL l3spjYBvbWuSGvvTXfp4s5kg5sZUqsojWp70TwQ309VimUNx8HmyM5ZLAWZN1xE/CFC8 OA+fhh6BQiWz/RwJxA0kCp0jzU4Q5TbH8oSqEopdv8uVUPtaMkcyMSyQWUB5uesRFDfr gjvw== X-Gm-Message-State: AOAM532x7+I3v6Y6SC2efnhEAPWJvRzWpiJRQkcVLGHGBQEyQsjXhBck TZUzw2//5Vp87MBgLjipv2g= X-Google-Smtp-Source: ABdhPJwmF8R2QsXhR0/gStooinNQxKw3uh3FYhM1lsE38AD7+3sq18ppdPS2GpblCa8cPtqdyWhxWw== X-Received: by 2002:a05:600c:3b1f:b0:394:5399:a34 with SMTP id m31-20020a05600c3b1f00b0039453990a34mr28311355wms.40.1652737197964; Mon, 16 May 2022 14:39:57 -0700 (PDT) Received: from guix-xps13 ([2001:818:daa9:6700:f21c:5ab6:8d75:5824]) by smtp.gmail.com with ESMTPSA id q24-20020adfb198000000b0020cfdb2bee6sm7385354wra.4.2022.05.16.14.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 14:39:57 -0700 (PDT) From: =?UTF-8?Q?Andr=C3=A9?= A. Gomes References: <87o802wh2p.fsf@gmail.com> <87bkw2szrt.fsf@jpoiret.xyz> Date: Mon, 16 May 2022 22:39:55 +0100 In-Reply-To: <87bkw2szrt.fsf@jpoiret.xyz> (Josselin Poiret via Bug reports for's message of "Fri, 13 May 2022 08:38:30 +0200") Message-ID: <87fsl9ma1g.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=andremegafone@gmail.com; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1652739292; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: 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=vkFI4hVmWKYTxSfVCbQvMm7QynbRmK4kdTCmaP7iWXs=; b=oMmgTI8qXJAKfGYvzUPOIs3p8k6q/ZuxBXs8c2RfsyHSdvZ2THwXlI4KHhESNT3DMj2Pnn zQONnfl1ghmbA4BD0AE+8dZ6I1NuMKOHzJe3S5no28Hn7gLncNv9h/oc9zGDTWUq/kuK4j a9XzY71X5+jagt85bWKAtXRC+9NFZ19bKsIOKWo1PTexXywcbM5bAD7KNxc0ci6yEJBsjA 81k9AqToShs/r+pSluF75/q5YhhLHZFAOZ6RAvSivOfz7Ndm7TtB30UGCURzKo06VRrmrl 1U8jECJ3mMAAY+jKyqf3t+SXtO0LF1d/7eTf5HkwDWvpbAUlgqVe1mVvpzhb1g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652739292; a=rsa-sha256; cv=none; b=OJYtKjIfYhjAb41QgbfbPz69c1CD36y1MAV2LrWfXrcFcMh4IbEkO68tY2TcZMYAbldgkR g+f0Cxdps7cDF0+JiotzKQfWig7VVZYo0zEo9XRk4ArpfVEjXlMhuxL5skfD5pb0AydNEv tgkXmbY3+iP+PR9HF/tnfcQRxHw1a+YPx7jNNjBbD/5xqAszZ0mRL5Wcmln2KglAvd6627 E9n44TpoU/G4S2Z4UeA5dNHBiqITdQazL1JTaZq0D9aZTZylhdxUT8/Rqd28RvnNBJSku5 v3jTjHUrEAgJTpQAKr/MY9mLYPov+d9mbZV/o6MqKMNs60N0t/LDywxQFDCiLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ihxxlagK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.77 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ihxxlagK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CE51433267 X-Spam-Score: 5.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: n731pTLcCTks Josselin Poiret via Bug reports for GNU Guix writes: > Hello Andr=C3=A9, > > Andr=C3=A9 A. Gomes writes: > >> Hi Guix, >> >> The manual (see (info "(guix) X Window")) mentions that it's possible to >> add two slim services but it seems not to work. When I tried to >> reconfigure the system it gives the following error: >> >> --8<---------------cut here---------------start------------->8--- >> guix system: error: more than one target service of type 'slim' >> --8<---------------cut here---------------end--------------->8--- > > If I understand the relevant code properly, this should happen only when > you try to extend a service type (eg. slim-service-type) with another > service, but you have multiple instances of the given service type, and > so guix system can't disambiguate between the two (it would be better if > you could manually specify that imho, but alas). Could you post a > snippet of your config, especially the service part? Here it goes. The manual states that you can have two slim services on different ttys. Am I misinterpreting something? Thank you! --8<---------------cut here---------------start------------->8--- (services (cons* (set-xorg-configuration (xorg-configuration (modules (list xf86-input-libin= put xf86-input-evdev xf86-input-wacom= )) (keyboard-layout keyboard-layou= t) (server-arguments ;; disable screen-saver timeout (append (list "-s" "0") %default-xorg-server-a= rguments)) (extra-config (list xorg-touchp= ad xorg-monito= r))) slim-service-type) (service slim-service-type (slim-configuration (display = ":0") (vt "vt7"= ))) ;; Doesn't work to add a 2nd service of the same type, ;; contrary to what the docs say ;; (service slim-service-type (slim-configuration (displ= ay ":0") ;; (vt "v= t8"))) (modify-services %desktop-services (guix-service-type config =3D> (guix-configuration (inherit config) (substitute-urls (append (list "https://substitutes.nongui= x.org") %default-substitute-urls)) (authorized-keys (append (list (plain-file "non-guix.pub" nonguix-key)) %default-authorized-guix-keys)))) (delete gdm-service-type) (delete (screen-locker-service xlockmore "xlock"))))) --8<---------------cut here---------------end--------------->8--- --=20 Andr=C3=A9 A. Gomes "You cannot even find the ruins..."