From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6MyHGI8pEme1XQEA62LTzQ:P1 (envelope-from ) for ; Fri, 18 Oct 2024 09:25:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6MyHGI8pEme1XQEA62LTzQ (envelope-from ) for ; Fri, 18 Oct 2024 11:25:35 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=eDwoGsZS; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=TbQIW4Mu; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729243535; a=rsa-sha256; cv=none; b=ciFpR7XPmhQX/PBVMxVYMMB5z2VNYIeNiwPM2T37BOyGFdpD7+qm63ZY3nXd0ocQjdKYwX 8nQfdu+CaAbKhYm5SI+V6QLeNy0dZcSv85NHE8p93sCnboArYPOG1DylCzUl5c+KXYh1Ls WEsqunzclA8jMqL7FlfNdlKKjaRCbVg1qilkHbysQ/u1TIIxPG3CFfRbl4nnvx32r18HpX 2HCwfPDxiCnIQcD0MN9IyT5Etjvhw/JaqLR7n4TlsJpaFCSv8R1009OerXuXjhfggs3zQU bw3bgmx6nejVDfACTnSNT9dMMPIZdGwcvZ0GS/35HDv+Ssu5TAftAffpJyVABA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=eDwoGsZS; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=TbQIW4Mu; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729243535; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=GwiMgtg7uRovKqLANe9tShkyIBsdEsIaTdtakgQS+zU=; b=cuaJrLx69zP7sy9hUze5MhFDx7j9tybBbomsyfz2AEzR8FXh1BAZ2cWNNvEVL+VzBkE7Ms G5oh3k65ANj4nxMEMj/KaIVqjQXQOOCqdGJgmDasUof+/korocxbN0t6HEQgKIT6lSuLzK yI2Wo6Ut01Snw9AvfIaT8d8BuTWKWBt72iHPzGLAtuHFIc0hF2nj6g5tDHSUxsECMljbZ0 1qhNMPPwcMgzdm+XSvyn8EZiOn1YS73i/2WsE8txcieGfIZmnTsehvpg1+uUq6sILgwErT 4bhd9swoVLASU9vNHrlr0OfrBNCmtYwXIodz2svxxF6Wizt74BvEU4SD06kBDQ== 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 C932562995 for ; Fri, 18 Oct 2024 11:25:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t1jDu-0006H8-79; Fri, 18 Oct 2024 05:24:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1jDs-0006GH-6r for bug-guix@gnu.org; Fri, 18 Oct 2024 05:24:40 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t1jDr-0007kv-Uj for bug-guix@gnu.org; Fri, 18 Oct 2024 05:24:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=GwiMgtg7uRovKqLANe9tShkyIBsdEsIaTdtakgQS+zU=; b=eDwoGsZSDRsSQKlk29TQlROnNJrBn6uUuuXEqQ26NABAy66qZ3H9sTu8fjfUaWTxJuPyEKVGgOKsp9Ofl2tVmmcSEpVTopAygLYAMgIZDug0h8vmtRVSqNIjvJpRU/4w/85SebXW9ffTmCVrUf5bUuY4XOxsBxZsDchOEzfBHR1pSiPDuTYzSi6L+333DTYWt0pri13aI/7KENHgh4ZTgSlrxFmH72v6lMT2Ri7YL40+Uw8wxooytnPN0U+ljRyYx54fP01khSeVI4s2YTPdvkzbTMOmsysfduJwe0Sjju6ruCaYD+I7ATvg/cWyqeTi1GIMGw/f9UKlGgBZj/phDA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t1jED-00050J-VS for bug-guix@gnu.org; Fri, 18 Oct 2024 05:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73859: lightdm-service-type is almost unusable Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 18 Oct 2024 09:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73859 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73859@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172924344819135 (code B ref -1); Fri, 18 Oct 2024 09:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Oct 2024 09:24:08 +0000 Received: from localhost ([127.0.0.1]:37073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1jDM-0004yX-C4 for submit@debbugs.gnu.org; Fri, 18 Oct 2024 05:24:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:35370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1jDK-0004yM-FF for submit@debbugs.gnu.org; Fri, 18 Oct 2024 05:24:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1jCy-000664-0G for bug-guix@gnu.org; Fri, 18 Oct 2024 05:23:44 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1jCu-0007fG-Ms for bug-guix@gnu.org; Fri, 18 Oct 2024 05:23:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C7407240027 for ; Fri, 18 Oct 2024 11:23:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1729243415; bh=gdxXelrrSzWzIwFf6G3vRVWP4MxIL4e10znLOvWFSJ4=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding:From; b=TbQIW4Mux7Hq6N10XaD+kHXAJB77CYvEC0qvBqkmhVncztbedwUEVLTTRpq90kb3e h4aKJAKUXGSBc0WxkwIkdbh3F9cgoFAfwZ7GyuKbJPupPygXA24sTSLMLxYRbfXuPz zi2kIou6ZIeccrcve6ZPEOzrm+pNZyykIKqL9W+XLGlk/0ZyLVapg9fgKBsvC0Engt 4/iBLIyTBuFVF5RxvnGU0TXzTOaWfSZt52ltt57ovqAtO6AkvLDJRQHPkRufFjoscE yNdWKm+NtpQ9yC+QAfI2rV544w8/lwAhLCdlobz+zxpDqgTbh0sAJh1n4DU7mVcB8H jWiTXri37d4DA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XVK530Dfzz6tm8 for ; Fri, 18 Oct 2024 11:23:34 +0200 (CEST) Message-ID: <8fe9bf90-158c-4e03-a257-6ebf9da5ad54@posteo.net> Date: Fri, 18 Oct 2024 09:23:32 +0000 MIME-Version: 1.0 Content-Language: en-US From: Dariqq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=dariqq@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.71 X-Spam-Score: -1.71 X-Migadu-Queue-Id: C932562995 X-Migadu-Scanner: mx12.migadu.com X-TUID: EbOAOlenaWC9 Hi Guix, This is to report some of the issues and workarounds when trying to setup lightdm-service-type. 1. Unable to choose a session (https://issues.guix.gnu.org/68055) This appearently never worked: https://issues.guix.gnu.org/57168#0 This means one currently has to specify the default session with something like (service lightdm-service-type (lightdm-configuration (seats (list (lightdm-seat-configuration (name "*") (user-session "xfce")))))) 2. gtkgreeter chooses the wrong default session This is related to 1. If one already had set the default user session (i.e. from using default configuration => default.xsession) or one wants to use a different session, lightdm gtkgreeter still requests the old one. After a lot of searching I found this https://github.com/Xubuntu/lightdm-gtk-greeter/issues/163 . I.e. lightdm asks the accountsservice for the default-session rather than lightm which still has cashed the old/wrong one. Thus with no option to select a different session one is unable to login. The workaorund here is to delete/modify /var/lib/AccountService/users to make sure accountsservice recreates/updates the configurration. 3. After the lightdms users .Xauthority file is created it has wrong permissions on subsequent boots. this can be "fixed" by manually setting less restrictive permissions on /var/lib/lightdm/.Xauthority This might be fixed by making the lightdm-activiation snippet actually useful: It currently searches for a file named "directory" to fix permissions rather than the content of the variable 'directory'. (find-files "directory" #:directories? #t) vs (find-files directory #:directories? #t) here https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/lightdm.scm#n527 4. tigervnnc default tigervnc is (file-append tigervnc-server "bin/Xvnc") rather than (file-append tigervnc-server "/bin/Xvnc")