From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:51707) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPY7f-0005Nz-30 for guix-patches@gnu.org; Fri, 17 Apr 2020 17:02:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPY7e-0008V5-0b for guix-patches@gnu.org; Fri, 17 Apr 2020 17:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58462) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPY7d-0008UY-TO for guix-patches@gnu.org; Fri, 17 Apr 2020 17:02:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPY7d-0000FO-P8 for guix-patches@gnu.org; Fri, 17 Apr 2020 17:02:01 -0400 Subject: [bug#40680] [PATCH] service: sddm: Have sddm-service-type conflict with other display managers. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200417144115.2475-1-efraim@flashner.co.il> Date: Fri, 17 Apr 2020 23:00:49 +0200 In-Reply-To: <20200417144115.2475-1-efraim@flashner.co.il> (Efraim Flashner's message of "Fri, 17 Apr 2020 17:41:15 +0300") Message-ID: <87r1wlaku6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Efraim Flashner Cc: 40680@debbugs.gnu.org Hi Efraim, Efraim Flashner skribis: > * gnu/services/sddm.scm (sddm-shepherd-service)[shepherd-service]: > Conflict with 'xorg-server. > --- > > I was looking over the services list with raingloom on IRC and I noticed > that GDM and Slim both provision xorg-server, while SDDM provisions > display-manager. To ensure that they conflict with each other we can > either: > > A: Have SDDM conflict with 'xorg-server > > B: Have SDDM also provision 'xorg-server > > I'm currently using SDDM (in Wayland mode) to launch an X session of > Enlightenment, so I think it's safe enough to say that SDDM can > provision 'xorg-server. > > --- > > gnu/services/sddm.scm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gnu/services/sddm.scm b/gnu/services/sddm.scm > index 1921afce95..aa08859513 100644 > --- a/gnu/services/sddm.scm > +++ b/gnu/services/sddm.scm > @@ -171,6 +171,7 @@ Relogin=3D" (if (sddm-configuration-relo= gin? config) > (documentation "SDDM display manager.") > (requirement '(user-processes)) > (provision '(display-manager)) > + (conflicts-with '(xorg-server)) =E2=80=98conflicts-with=E2=80=99 doesn=E2=80=99t exist, right? :-) But yes, I think (provision '(xorg-server display-manager)) would be fine. Or we can even drop =E2=80=98display-manager=E2=80=99 since it=E2=80=99s no= t used anywhere else. Thanks, Ludo=E2=80=99.