From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mJsgM9+6VmFu0gAAgWs5BA (envelope-from ) for ; Fri, 01 Oct 2021 09:38:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AD3BLt+6VmG6SwAAB5/wlQ (envelope-from ) for ; Fri, 01 Oct 2021 07:38:07 +0000 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 274B0139E4 for ; Fri, 1 Oct 2021 09:38:07 +0200 (CEST) Received: from localhost ([::1]:51734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWD7O-0004yT-8i for larch@yhetil.org; Fri, 01 Oct 2021 03:38:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWD7K-0004yJ-KN for guix-patches@gnu.org; Fri, 01 Oct 2021 03:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43047) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWD7K-00011V-DJ for guix-patches@gnu.org; Fri, 01 Oct 2021 03:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWD7K-00051C-At for guix-patches@gnu.org; Fri, 01 Oct 2021 03:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50563] [PATCH [0/2] gnu: GDM: Add Wayland support Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Oct 2021 07:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50563 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Josselin Poiret Cc: "50563@debbugs.gnu.org" <50563@debbugs.gnu.org> Received: via spool by 50563-submit@debbugs.gnu.org id=B50563.163307387619278 (code B ref 50563); Fri, 01 Oct 2021 07:38:02 +0000 Received: (at 50563) by debbugs.gnu.org; 1 Oct 2021 07:37:56 +0000 Received: from localhost ([127.0.0.1]:54593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWD7E-00050r-Ht for submit@debbugs.gnu.org; Fri, 01 Oct 2021 03:37:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWD7C-00050e-Qi for 50563@debbugs.gnu.org; Fri, 01 Oct 2021 03:37:55 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44556) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWD77-0000q9-8K; Fri, 01 Oct 2021 03:37:49 -0400 Received: from 2a01cb000492e90078753f5c96c7583f.ipv6.abo.wanadoo.fr ([2a01:cb00:492:e900:7875:3f5c:96c7:583f]:44060 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWD76-00008m-V0; Fri, 01 Oct 2021 03:37:49 -0400 From: Mathieu Othacehe References: <_O63PhtCI8ZiwBgDZppLf6SqqIgEm3Y0iFYKUIsuLOeAM4yMfbqumjltWSuHKl8tfgUdL0yAC2TVR4nqKvLNJ18Rgs7iImwzPAztAEvIcmM=@jpoiret.xyz> Date: Fri, 01 Oct 2021 07:37:47 +0000 In-Reply-To: <_O63PhtCI8ZiwBgDZppLf6SqqIgEm3Y0iFYKUIsuLOeAM4yMfbqumjltWSuHKl8tfgUdL0yAC2TVR4nqKvLNJ18Rgs7iImwzPAztAEvIcmM=@jpoiret.xyz> (Josselin Poiret's message of "Mon, 13 Sep 2021 08:15:19 +0000") Message-ID: <875yuhqjp0.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633073887; 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-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; bh=zfAFpK82Exoxn0pAJiw9FIG9UcKuDa6WKXN1bqTZ1a8=; b=WfClag2+Xl67C3s8B3crW/ED5XTY/pjLrKlftOhF3hztTz0OJd9r3Clgg1cYDS7wnrSGJu WKrFvz95vCJ/AXCu5ah8oes7sWBbB4i3EnURFob25xwAF7HGLdgjrg+vjeCFDbJ8oBuOlL fHGnjARcAT65sEdRBPbmehpuJe4nrcMMyG3Aq2ngTj3HWnjT836YmyNZP8gwKwo/wyRe53 wWV+xwsuFZnqOeAEEBWJHsidjE4kL9w6P6LYavmTeVkIOLXoUPRsjcAQTkgz1X1A50nXz/ iOtzK3OvVydf/EzvrrkPgM51lwHiRzaZjh5uONdzYEFaz56IQ8Pd5//fU9wrAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633073887; a=rsa-sha256; cv=none; b=SHwfosOUTQaWkx9LkSk+PFhOr59QWk0rm1HSEZOhUUSSKchw14ZnQLmDXSf2RgO/bTIzfU +zpo72+NJ3q21GE2O0E/YPTHdbtWt9V+04zYOezCBrEU8+AJcDc7X5DbfTdKD9PDlICf13 ++FnX54Q3EHVH8ts8N/IlxYKeNfjXbxLv0mHRZckTJKJ1DqM4Kjkz7qpwEatUDQKGIEIdS bK8ybybuHeMQdIPCsXw0f/idpOUoxWJeqbl4iFdmYdH5h7LvOoEQ2okWx6Q6LjFX91pMiY ZAvwCn58eUN1qSjPbo6z73/AHpyM/iGo2AJgDa+mD8C5iQgR2hGVMIzEINPPUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.40 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 274B0139E4 X-Spam-Score: -1.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: nM1pResCuv/8 Hello, > +;; Wrapper script for Wayland sessions, similar to Xsession. > +;; Used to setup the environment. > +(define gdm-wayland-session-wrapper > + (program-file > + "gdm-wayland-session-wrapper" > + #~((let* ((user (getpw (getuid))) > + (name (passwd:name user)) > + (shell (passwd:shell user)) > + (args (cdr (command-line)))) > + (if (string=? name "gdm") > + (apply execl (cons (car args) args)) > + (execl shell shell "--login" "-c" (string-join args))))))) I'm not sure to get perfectly the role of this wrapper, could you please clarify it? It looks like nix is dealing differently with the session starting, without using a dedicated script: https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/gnome/core/gdm/fix-paths.patch Thanks, Mathieu