From debbugs-submit-bounces@debbugs.gnu.org Thu May 12 17:56:37 2022 Received: (at submit) by debbugs.gnu.org; 12 May 2022 21:56:37 +0000 Received: from localhost ([127.0.0.1]:42420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npGnV-0004Qh-KJ for submit@debbugs.gnu.org; Thu, 12 May 2022 17:56:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:56892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npGnV-0004Qa-3A for submit@debbugs.gnu.org; Thu, 12 May 2022 17:56:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npGnU-00024P-Ji for bug-guix@gnu.org; Thu, 12 May 2022 17:56:36 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:37832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npGnT-0006Va-0U for bug-guix@gnu.org; Thu, 12 May 2022 17:56:36 -0400 Received: by mail-wr1-x42f.google.com with SMTP id t6so9042792wra.4 for ; Thu, 12 May 2022 14:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=rzGflJQKdYh3eQUVZ465erqrCkYAATPLd3DhbG+Q6Nw=; b=aoyqKfQE/1+Bwu39/0IZ/xngl1Xk16HhNDRZCKh7gR7y/r3zDwuiMDogqR/49+m1nq b9SIni2FAbqFNLb44/Uaj5GmRh+EtsqB6ioo8CMY9y5lucIuddB7iBBZz6qoOe6MAoPh gy4A++eYIBS/qtP7L2m9F5RJYUCGBrx8tx+AEPKl1+ffuSY6cquWEA0mvZUBT14C77uf pDu0vCrJpfopMHDl7KlFESPWGUA8J/jcZJTjeLQHyX6Yd7NdG6RHpYWdGPzKL7D88Gtp WfRMX3zcagyCq1K1LZFMmADMqCPlJsnJAYdVoHMvMVBIgQQFEEcp70pPFgxdlGQpiXTt l6TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=rzGflJQKdYh3eQUVZ465erqrCkYAATPLd3DhbG+Q6Nw=; b=o3Q5/vizskCPhdJkWK8E4DTdcODTTcSs5Qc1V2g+jLW2kH7EE4yyOaiqEB/3j97krK Oaf7S0hj/+OWAow32WOE9Bk4e4jHOJyRyLqqYjnn1l0q6zbc7j3JIds14yFeT5tFINh+ 1NXj3/0vtzx7JDA770mqU1NfV2RbG7eP1RttylYMKA0yAg+K+tmXW8JMqqN5v/9D1RgB vUMStKPiebAmH9/7i+27T2+ZbP0RpJ8clvBcEd2Xd+tzCmmIEIx8nO3SBKpoLxESBAaj HrIYG3/9fG65pl9IFE0AEj+K97CWoFVhr01epjxj2gC3PhkHoKSLnBIT+Hvx51t6Kzm5 85Mg== X-Gm-Message-State: AOAM530En/zlxExmfzU4rVVTRxi/hhGDkpQxy1UYYLzatY7wiBhf9GTz LWjQhdvg2nAa1zS2eUEyEh2FkjSLb2g= X-Google-Smtp-Source: ABdhPJwvhxa4UQ73K7AaEmIJB3CpY7GJgJ3JKmISHlPy3IrWP39mC1veJxCPgZO1gOS9CrSWngneLQ== X-Received: by 2002:a5d:47c5:0:b0:20c:5a48:7162 with SMTP id o5-20020a5d47c5000000b0020c5a487162mr1463189wrc.32.1652392592623; Thu, 12 May 2022 14:56:32 -0700 (PDT) Received: from guix-xps13 ([2001:818:daa9:6700:f21c:5ab6:8d75:5824]) by smtp.gmail.com with ESMTPSA id x25-20020adfae19000000b0020c5253d90esm598525wrc.90.2022.05.12.14.56.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 May 2022 14:56:32 -0700 (PDT) From: =?utf-8?Q?Andr=C3=A9_A=2E_Gomes?= To: bug-guix@gnu.org Subject: Multiple slim services Date: Thu, 12 May 2022 22:56:30 +0100 Message-ID: <87o802wh2p.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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::42f; envelope-from=andremegafone@gmail.com; helo=mail-wr1-x42f.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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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--- Thanks. --=20 Andr=C3=A9 A. Gomes "You cannot even find the ruins..." From debbugs-submit-bounces@debbugs.gnu.org Fri May 13 02:38:48 2022 Received: (at 55391) by debbugs.gnu.org; 13 May 2022 06:38:48 +0000 Received: from localhost ([127.0.0.1]:42817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npOwq-0002GH-B9 for submit@debbugs.gnu.org; Fri, 13 May 2022 02:38:48 -0400 Received: from jpoiret.xyz ([206.189.101.64]:43882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npOwo-0002G8-7P for 55391@debbugs.gnu.org; Fri, 13 May 2022 02:38:47 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 63AB2183B22; Fri, 13 May 2022 06:38:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1652423924; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=G8SgHtpOCljU4WoF17Yl3mQlOCmXk3qNRGb7lSWwQEY=; b=F/3f2ZsA+dR6Ofg0c5iuVzA4cMlrJM8sxywa7Igdr5D/52yE7ln1lbiqayshEx978zfTsG o8H+C5vdqTNOLfBJHwV9e9aWtgfj9ysRPpllHto/Vt9Go/NEVyQA7Ycocx0uh5yTKdzvPL GRMe7hqSIuoS8taGGAG8iP56J0zQ+V43xM3b0zhv0+fY2QpGhK48Ia9B8Lm2R0DlzDc1U3 qQQvx1a6XyE1kw+5v8jnD10J8L+CG3/f6zyuEhPCyWYEsam5OkVvkkz0Wa9mgdEtzrr13d CrqEeHCvklvEbwzlF+wZv7KqY7akuFee3pN4Z8EORls3xWcxxCd7nJiAI+zoSA== From: Josselin Poiret To: =?utf-8?Q?Andr=C3=A9_A=2E_Gomes?= , 55391@debbugs.gnu.org Subject: Re: bug#55391: Multiple slim services In-Reply-To: <87o802wh2p.fsf@gmail.com> References: <87o802wh2p.fsf@gmail.com> Date: Fri, 13 May 2022 08:38:30 +0200 Message-ID: <87bkw2szrt.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: / X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello André, André 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 followin [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 55391 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello André, André 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 followin [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 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? Best, --=20 Josselin Poiret From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 17:40:10 2022 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=2E_Gomes?= To: Josselin Poiret via Bug reports for GNU Guix Subject: Re: bug#55391: Multiple slim services 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Josselin Poiret , 55391@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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..." From debbugs-submit-bounces@debbugs.gnu.org Mon May 16 19:51:55 2022 Received: (at submit) by debbugs.gnu.org; 16 May 2022 23:51:55 +0000 Received: from localhost ([127.0.0.1]:55352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqkVH-0003TK-5E for submit@debbugs.gnu.org; Mon, 16 May 2022 19:51:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:38684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqkVF-0003TB-8z for submit@debbugs.gnu.org; Mon, 16 May 2022 19:51:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqkVC-0004na-Fz for bug-guix@gnu.org; Mon, 16 May 2022 19:51:53 -0400 Received: from voltorb.zancanaro.id.au ([45.77.50.64]:45966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqkVA-0003RV-L5 for bug-guix@gnu.org; Mon, 16 May 2022 19:51:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=k1; bh=pnxtmLOBDkGGxuU aCbXPME/8W++qv7mazILQCxD5oe4=; h=in-reply-to:date:subject:cc:to:from: references; d=zancanaro.id.au; b=o0bs0OGmynR2f7mpx3+Hqw2LbHTri/5iAV35a M6NmkTn7TpNl6W6rUunpkWVyNsN5S6UH2Tmg/6lE46gW9y6gQQKA9Db+htXLWlzyOFTMK1 kSR/SUhf7hR8LBFotHXaOik9x3lBOIalO5ZmCBTHxT5ku7koG1ssG5cGpkBysYwk= Received: by voltorb.zancanaro.id.au (OpenSMTPD) with ESMTPSA id b7a4de21 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 16 May 2022 23:51:34 +0000 (UTC) References: <87o802wh2p.fsf@gmail.com> <87bkw2szrt.fsf@jpoiret.xyz> <87fsl9ma1g.fsf@gmail.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Carlo Zancanaro To: =?utf-8?Q?Andr=C3=A9_A=2E_Gomes?= Subject: Re: bug#55391: Multiple slim services Date: Tue, 17 May 2022 09:29:43 +1000 In-reply-to: <87fsl9ma1g.fsf@gmail.com> Message-ID: <87h75pavec.fsf@zancanaro.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=45.77.50.64; envelope-from=carlo@zancanaro.id.au; helo=voltorb.zancanaro.id.au 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, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: bug-guix@gnu.org, dev@jpoiret.xyz, 55391@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Andr=C3=A9, On Mon, May 16 2022, Andr=C3=A9 A. Gomes wrote: > Here it goes. The manual states that you can have two slim=20 > services on different ttys. Am I misinterpreting something?=20 > Thank you! I don't think you're misinterpreting anything, but Josselin is=20 correct when they say On Fri, May 13 2022, Josselin Poiret wrote: > If I understand the relevant code properly, this should happen=20 > only when you try to extend a service type (eg.=20 > slim-service-type) with another service In your case, you're using set-xorg-configuration which tries to=20 extend your slim-service-type service. Unfortunately, you want to=20 define two of them, which causes the extension mechanism to fail=20 complaining about the ambiguity. You should be able to fix this by adding the xorg-configuration=20 directly into the slim service that you're defining, something=20 like this: (cons* (service slim-service-type (slim-configuration (display ":0") (vt "vt7") (xorg-configuration (xorg-configuration (modules (list=20 xf86-input-libinput xf86-input-evdev xf86-input-wacom)) (keyboard-layout=20 keyboard-layout) (server-arguments ;; disable screen-saver=20 timeout (append (list "-s" "0") %default-xorg-server-argu= ments)) (extra-config (list=20 xorg-touchpad xorg-monitor))= )))) (service slim-service-type (slim-configuration (display ":0") (vt "vt8") ;; I wasn't sure if you=20 wanted the same ;; xorg-configuration here,=20 so I left it out. )) (modify-services %desktop-services (delete gdm-service-type) (delete (screen-locker-service xlockmore "xlock")))) I hope that helps, Carlo From debbugs-submit-bounces@debbugs.gnu.org Tue May 17 11:31:37 2022 Received: (at submit) by debbugs.gnu.org; 17 May 2022 15:31:37 +0000 Received: from localhost ([127.0.0.1]:57624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqzAe-0008JJ-HP for submit@debbugs.gnu.org; Tue, 17 May 2022 11:31:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:49034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqzAc-0008JB-Ac for submit@debbugs.gnu.org; Tue, 17 May 2022 11:31:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqzAb-0006hP-BK for bug-guix@gnu.org; Tue, 17 May 2022 11:31:34 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:42884) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqzAZ-0002Gu-NL for bug-guix@gnu.org; Tue, 17 May 2022 11:31:32 -0400 Received: by mail-wr1-x42f.google.com with SMTP id j25so24263135wrc.9 for ; Tue, 17 May 2022 08:31:31 -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=WGACzVHUHI3EK3cujxZ7BIwQa03S7INCScchQxrYN/0=; b=KtB1JzTJY6SuxvFx4UgGHzzBXZxMjhCD6OyAhVJYTwSKct2d9IwjsNy1MSECb2C1si 5rJWnKmSKMBHYbTEupJcU8hBV/ZZP71clveHquKNhEbPfL+UzVcML4+eXKTIb4q4lA38 jKi6mGynj9uOrfzNNZSigZ7ZUv6tGn+SvTy2XvReWJPyiJTdESJOKZ5YhzQG3/hkcWpn jFg70087xIH8yEdarT1WYsO+erIF+sLhA9Nz1/AHJwuKd6yJNt+yv+UIDdg5n+8Z6rJB 6GLuSTCSHBUfBgXJLPeLKi40JGCNQYc3BKWgEzijtvh496aj4Se/A27gdyGnV2z1/JkJ qQrA== 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=WGACzVHUHI3EK3cujxZ7BIwQa03S7INCScchQxrYN/0=; b=vnDCBvAS7dZrfNZ7kBMVWerKhAWgsog4RXSbzwKFsWdJN+FVJxakx39NUmdTXl3ZNZ WBqRP9wcmo1VVQrV9PrL+0rEGeBfaWfmlpk/C2ZOPCpmKq+vaHXC8+tT8qVNEzptXRwi j3HYIQhaTVyQqfm7Bp5g3kXkHUAuXP8757l2SS+npM9cC/PHBhDzh2EijKZKWvzmmsR0 540mRQOhhgXMJDJOe2rT0Liy/z4NfTTHmf1UR362OTyW5W0LDRqUD7diKQtsFJzsm+WY 0XtbUYcYUHHAjNZ4/ZnL38Ra+5LtgEeOJAevE5iIrtW7G//9Zh5F1aATOrkxa2cNBryn Yc/w== X-Gm-Message-State: AOAM532cM0A0Ul4NOo2dF5CK+WW+c8QuYOuBoEbH4PMfH17Wv/i+m/lO MEq5L0K6HReAFAONjSk2uD30b0INXd2/+Q== X-Google-Smtp-Source: ABdhPJxqoUpXxaOp8thX/JcQ3ZTMmtc/V25V+/7E2KHD/kUU/tqE8B6OqLF/pmKEOos3TB+wAxOuOA== X-Received: by 2002:a05:6000:1846:b0:20e:5d27:7ca7 with SMTP id c6-20020a056000184600b0020e5d277ca7mr952977wri.536.1652801490132; Tue, 17 May 2022 08:31:30 -0700 (PDT) Received: from guix-xps13 ([2001:818:daa9:6700:f21c:5ab6:8d75:5824]) by smtp.gmail.com with ESMTPSA id m14-20020a5d64ae000000b0020d0fbf578esm5333950wrp.7.2022.05.17.08.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 08:31:29 -0700 (PDT) From: =?utf-8?Q?Andr=C3=A9_A=2E_Gomes?= To: Carlo Zancanaro Subject: Re: bug#55391: Multiple slim services References: <87o802wh2p.fsf@gmail.com> <87bkw2szrt.fsf@jpoiret.xyz> <87fsl9ma1g.fsf@gmail.com> <87h75pavec.fsf@zancanaro.id.au> Date: Tue, 17 May 2022 16:31:28 +0100 In-Reply-To: <87h75pavec.fsf@zancanaro.id.au> (Carlo Zancanaro's message of "Tue, 17 May 2022 09:29:43 +1000") Message-ID: <878rr0rx9r.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::42f; envelope-from=andremegafone@gmail.com; helo=mail-wr1-x42f.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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: bug-guix@gnu.org, dev@jpoiret.xyz, 55391@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Carlo Zancanaro writes: > Hi Andr=C3=A9, > > On Mon, May 16 2022, Andr=C3=A9 A. Gomes wrote: >> Here it goes. The manual states that you can have two slim services >> on different ttys. Am I misinterpreting something? Thank you! > > I don't think you're misinterpreting anything, but Josselin is correct > when they say > > On Fri, May 13 2022, Josselin Poiret wrote: >> 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 > > In your case, you're using set-xorg-configuration which tries to extend > your slim-service-type service. Unfortunately, you want to define two of > them, which causes the extension mechanism to fail complaining about the > ambiguity. > > You should be able to fix this by adding the xorg-configuration directly > into the slim service that you're defining, something like this: > > (cons* (service slim-service-type (slim-configuration > (display ":0") > (vt "vt7") > (xorg-configuration > (xorg-configuration > (modules (list > xf86-input-libinput > xf86-input-evdev > xf86-input-wacom)) > (keyboard-layout > keyboard-layout) > (server-arguments > ;; disable screen-saver > timeout > (append (list "-s" "0") > %default-xorg-server-arg= uments)) > (extra-config (list > xorg-touchpad > xorg-monitor)= ))))) > (service slim-service-type (slim-configuration > (display ":0") > (vt "vt8") > ;; I wasn't sure if you > wanted the same > ;; xorg-configuration here, > so I left it out. > )) > (modify-services %desktop-services > (delete gdm-service-type) > (delete (screen-locker-service xlockmore "xlock")))) Hi Carlo Zancanaro, It all makes sense now! I really appreciate your help, thanks :) --=20 Andr=C3=A9 A. Gomes "You cannot even find the ruins..." From debbugs-submit-bounces@debbugs.gnu.org Tue May 17 11:38:11 2022 Received: (at submit) by debbugs.gnu.org; 17 May 2022 15:38:11 +0000 Received: from localhost ([127.0.0.1]:57631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqzH1-0008U1-03 for submit@debbugs.gnu.org; Tue, 17 May 2022 11:38:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:53326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqzH0-0008Tu-95 for submit@debbugs.gnu.org; Tue, 17 May 2022 11:38:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqzH0-0001SA-2W for bug-guix@gnu.org; Tue, 17 May 2022 11:38:10 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:33628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqzGy-00038u-IH for bug-guix@gnu.org; Tue, 17 May 2022 11:38:09 -0400 Received: by mail-wm1-x330.google.com with SMTP id bd25-20020a05600c1f1900b0039485220e16so1493150wmb.0 for ; Tue, 17 May 2022 08:38:08 -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; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=dt7MiQky2rA/wu2P5wgZ5K7N0IRArtIJ6XiufR3W71dCNtTUmRaPI3agO9BTppTCbN IyIMibi54rYX3WhtF145LXvA6hRZDTESvpB1FdrVI5bCz3zBMXeFOy5i/5iJ+z5+X7Rg YEJqu6XZ1uee2CTjIBwU63VPEErYOLIbdrIIuk7VXTRher994EKON7ft9Q3tvpu66bed NFvqL493lE7XHBK4TG8qfX30x10JISw+IuXiT+r1QFe+S1RME16Vpwsr6BliqyPAkRg5 Ywmif+LEjdEf0x5KTcZ7YQ/J1LJ5fgw7LavaGSXWA7uLxCrwCvoM8+gC+HZVis0P1U8d HUsg== 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; bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=; b=vpjqjaVt7d/PfbrdKRKN9uAi9hQNvP0KMMnGqf2b27tKyMHQDfDxczri+RZbjJ05Oa rbD1E2JURPf5b7p5RIzsiUg1o70sMzUzhDfXd3CltWvmki7xba3urViLAt97SVP4eSWS EcQJdZE6UN272HUjc7geKBxvaF4FW6bZRQyZg17QOEDyMCO+CdNIwa8LKvoykBwCzfnH 2cXKrNT7bKEGYu1/7XE0QSsPGgMxF6b9r/+O7O3gus1Q6ATpeqf8XTh3ZpnbGtz6wDYa xfFKRfd4d8vvhPR1IW+JZdo8rdQd5MTBWJI6U+s21jmUVLBwWeyRZpMgwe10JN8+ejXR RPaA== X-Gm-Message-State: AOAM533dmdA+zX3mLwB2RaO9HSpYf9RiY3SLYKxwq/Pin5POCnK+VfH6 Z1Y+xHjQckav4av+uLcfbqLTxzVgPAZKjw== X-Google-Smtp-Source: ABdhPJyAIxpUFN4E0kw3vey9OYidtePq9aLbD8GevHs3dZZLki9UlHfR0GWQVCelpo00XnpfLE5g6Q== X-Received: by 2002:a05:600c:3512:b0:394:7c3b:53c0 with SMTP id h18-20020a05600c351200b003947c3b53c0mr21730900wmq.170.1652801887047; Tue, 17 May 2022 08:38:07 -0700 (PDT) Received: from guix-xps13 ([2001:818:daa9:6700:f21c:5ab6:8d75:5824]) by smtp.gmail.com with ESMTPSA id c3-20020adfc6c3000000b0020c5253d8dasm12689440wrh.38.2022.05.17.08.38.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 08:38:06 -0700 (PDT) From: =?utf-8?Q?Andr=C3=A9_A=2E_Gomes?= To: 55391-done@debbugs.gnu.org Subject: Re: bug#55391: Multiple slim services References: <87o802wh2p.fsf@gmail.com> <87bkw2szrt.fsf@jpoiret.xyz> <87fsl9ma1g.fsf@gmail.com> <87h75pavec.fsf@zancanaro.id.au> Date: Tue, 17 May 2022 16:38:05 +0100 In-Reply-To: <87h75pavec.fsf@zancanaro.id.au> (Carlo Zancanaro's message of "Tue, 17 May 2022 09:29:43 +1000") Message-ID: <87y1z0qiea.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=us-ascii Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=andremegafone@gmail.com; helo=mail-wm1-x330.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PYZOR_CHECK=1.392, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: bug-guix@gnu.org, 55391@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) From unknown Sat Jun 21 10:43:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 15 Jun 2022 11:24:11 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator