From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sGjeJq/jgmJ9XAEAbAwnHQ (envelope-from ) for ; Tue, 17 May 2022 01:52:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IDrAJq/jgmJrKQAAauVa8A (envelope-from ) for ; Tue, 17 May 2022 01:52:15 +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 83B7E3D2EF for ; Tue, 17 May 2022 01:52:14 +0200 (CEST) Received: from localhost ([::1]:38578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqkVZ-0004oh-H0 for larch@yhetil.org; Mon, 16 May 2022 19:52:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqkVO-0004oB-PQ for bug-guix@gnu.org; Mon, 16 May 2022 19:52:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33222) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqkVO-0003TW-H8 for bug-guix@gnu.org; Mon, 16 May 2022 19:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqkVO-0003Tg-Fr for bug-guix@gnu.org; Mon, 16 May 2022 19:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55391: Multiple slim services Resent-From: Carlo Zancanaro Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 16 May 2022 23:52: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: =?UTF-8?Q?Andr=C3=A9?= A. Gomes Cc: 55391@debbugs.gnu.org, dev@jpoiret.xyz X-Debbugs-Original-Cc: bug-guix@gnu.org, dev@jpoiret.xyz, 55391@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165274511513355 (code B ref -1); Mon, 16 May 2022 23:52:02 +0000 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 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-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=1652745135; 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=pnxtmLOBDkGGxuUaCbXPME/8W++qv7mazILQCxD5oe4=; b=GEMnhFHNq9Nt9008ORXHaK1No+F673+svuAVEKhXTGMxw5N9wPxJqvuvLaeVTk7KXjI9v8 d2SXyihyzN6FMst7Wao2nFJsAV7qxpoaeXCIL+v5m8ttPfxY6T3bWZ4bhyC6lC7wAIlGZ5 xhDlfQab5eusDJxWZqCf4s9ufJ+gI4Tk0dstsUHrE8DbM7DZv92v4ZSB+IKH7OuRFj5oG3 tLPiW90fmjsnbNqrQWm9oTMCEQFhAG6ufQ4elfJ1L3zWO/mDf8bUl0qJof0tTQG1xIeh2x dP4m1kJ8tEHlTa31yLGVWkmhWyBi9yQMjYiMTV7BBISOr47TCHkugyF5rElkow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652745135; a=rsa-sha256; cv=none; b=j/xmIuZCoIj9iIFybSLXREa/XclLocfxDwdlizA8J6Q/aJWOrav1sQOC8tUf5dC9bjP4aO CvcX9t4TZ/JTiMR19QwOH0ul1rJWL/mTCIV4EguQ2jvySpe7Pf4XXmaKZGyP63daG+ZZIW A8rOloLOoiO38Dy/JpQUGGZmF3wlNoQLzw/0tBPgQCYwGREXrqQL9wc3j/4BVTXOXjjH0I 59QZDBk95DK8uaI/YnoofzWm5l4GC+W2sOgC16mdV0hcP+Sw+GhRWxcR1yHqeU8IzITIhd LqQKmJKyCcZayZvqX7/bbnekHkqRUiHFdWKDoPFxDgrPOt17dUXkH1BzAr93hQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zancanaro.id.au header.s=k1 header.b=o0bs0OGm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=zancanaro.id.au (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.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zancanaro.id.au header.s=k1 header.b=o0bs0OGm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=zancanaro.id.au (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: 83B7E3D2EF X-Spam-Score: 5.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: /oV/QYLu2Mx9 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