From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wBqWFp7gK2P5JgEAbAwnHQ (envelope-from ) for ; Thu, 22 Sep 2022 06:12:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wKe9Fp7gK2O5RwAA9RJhRA (envelope-from ) for ; Thu, 22 Sep 2022 06:12:14 +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 D423E13B12 for ; Thu, 22 Sep 2022 06:12:13 +0200 (CEST) Received: from localhost ([::1]:48072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obDZN-0003ja-0x for larch@yhetil.org; Thu, 22 Sep 2022 00:12:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obDZC-0003f5-L6 for bug-guix@gnu.org; Thu, 22 Sep 2022 00:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obDZC-0005tU-DI for bug-guix@gnu.org; Thu, 22 Sep 2022 00:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obDZC-0001aD-45 for bug-guix@gnu.org; Thu, 22 Sep 2022 00:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44944: Unable to log into X session via gdm Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 22 Sep 2022 04:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44944 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: bokr@bokr.com Cc: Danny Milosavljevic , 44944@debbugs.gnu.org Received: via spool by 44944-submit@debbugs.gnu.org id=B44944.16638199206077 (code B ref 44944); Thu, 22 Sep 2022 04:12:02 +0000 Received: (at 44944) by debbugs.gnu.org; 22 Sep 2022 04:12:00 +0000 Received: from localhost ([127.0.0.1]:35779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obDZ9-0001Zw-UV for submit@debbugs.gnu.org; Thu, 22 Sep 2022 00:12:00 -0400 Received: from mail-qk1-f173.google.com ([209.85.222.173]:44680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obDZ7-0001Zj-CI for 44944@debbugs.gnu.org; Thu, 22 Sep 2022 00:11:58 -0400 Received: by mail-qk1-f173.google.com with SMTP id y2so5400949qkl.11 for <44944@debbugs.gnu.org>; Wed, 21 Sep 2022 21:11:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date; bh=r03QhNgra7H/cixxKUWZpM+eLn6QLpeQdkUywjvHiY4=; b=T6y6Coi7eRNO7bhXKdK2ne7lx+NTVoyhlnfxiHFtWrTDJAavbE4p2sS14OCSBCuDC0 7wM97PmCBovml9hLAkcJHFuMvt349o7lWfrvnQ0kbO6udVbTmJu8IUGSsIYN1k/5eXyk UhOBRQt2qBGHVlySrOU/VtBELe8Onh8FXA1x3rjtG1anuMLQvT2rvksDykzpymh1HWJN 2oenm+CzJuF0MeocRruBFXFVZThrmUklZ8uC67s/c9Rf7wsl/unxHT95VWsbb9z8FJEp 0wNgS81QaROTx6v1//6a77tWdXZIBw2rlky7wboqe3XPhvUzIshTsI7DZqMH4elZ1+Bw 5fmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=r03QhNgra7H/cixxKUWZpM+eLn6QLpeQdkUywjvHiY4=; b=mYVWSghqdhcbnDEQ5YB26x5CjEU3hR6/PkDpJDT40OM4rnPlhM83eWYx1WCs7fmRdH zvbDFdJiio1uWlaSUbpz0fcGXLe+hFDu63kzfk87d3cwvFIpYdwP0iplRct0DfDwE8tD bwjz8RLupPGfHQZJzkMAfoGl4jgZabPw366MlBCSTHh0SJPwDQDeJffgZd/fanuwCpFz 0Ytb6Ao1fqVQj1RkV+BDb0Rbe3hAveo8Lj3eBfUifrdgqAekIyokXthSp2OkqSg1B58M 33v7kol7Wb3Zmk5ogD1oGUevFtr6eo7ao0+lGxsP71Gj2eMAPYT3bbx79uOfN29kfLsf ix7w== X-Gm-Message-State: ACrzQf33NL4SjVARKMRPw8g5R/LoBMwpOEzQtH8ao3tFoRL13AppDHrQ XvaT82oNncI0CrtPS65PpZNQuMRMJP8= X-Google-Smtp-Source: AMsMyM6jmD5NQnaCAr5O8CkkoTo0AqIZlXiSiatYcqAN53JIGJ7Df0L/IJoQTJJT+SgG547T1/pj/g== X-Received: by 2002:a37:bf81:0:b0:6cd:dbcc:1592 with SMTP id p123-20020a37bf81000000b006cddbcc1592mr919033qkf.290.1663819911227; Wed, 21 Sep 2022 21:11:51 -0700 (PDT) Received: from hurd ([2607:fad8:4:3::1001]) by smtp.gmail.com with ESMTPSA id f25-20020ac84659000000b0035ccd148026sm2731005qto.69.2022.09.21.21.11.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Sep 2022 21:11:50 -0700 (PDT) From: Maxim Cournoyer References: <20201129140240.546b1403@scratchpost.org> <8735crdu0p.fsf@gmail.com> <20220920144957.GA10253@LionPure> Date: Thu, 22 Sep 2022 00:11:49 -0400 In-Reply-To: <20220920144957.GA10253@LionPure> (bokr@bokr.com's message of "Tue, 20 Sep 2022 16:49:57 +0200") Message-ID: <874jx0avzu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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: 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=1663819934; 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: dkim-signature; bh=r03QhNgra7H/cixxKUWZpM+eLn6QLpeQdkUywjvHiY4=; b=R0QjOhLStazhjy9jzr//p0QKzWyrgWeFtkDstmzPCsnjFdRL8M65kRTP17YXpHMFz2XMY/ rJMyr4HVb3l0l3wACt9TbCZstuLK4kNCotmIQYifC4ZznLDWn72xxZQcXc8AqiErpZr6Xx K9G4FiUN9eEd2en8WmZNsCyJhy0D0aeDGsxNaf7r9uuU7L6w1jq58YYDh0sBDjcUduqwx7 j4B3KM5VJrYTj/0A18T2XD93qalr/AU9iUxK8Zjx7Y6Lw7H4A6NxjkXppfIMddY66oQpkj GUISHzxLzjW2WLQrUZ+Rb52Q5IXNLFs1bwhlaWEo8T+znl5PLDT6ViG5kFupeQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663819934; a=rsa-sha256; cv=none; b=lyeGFq+z1T6rr8n9l5QriQUiGqb/YtDovcu1U1WTNVHQ2ECAD8wDkF71CpQ6gOIdBcJ52X nZRQ5EBYRKVQ9Cjx0mJcalsD/IM6lBR3NqxsuU7Ce5P6biX/H4gCVBkC/MDVOryc5r/J6x QtXYpnmiRQ2gFnPSazyRXhvVtpEkZXCn4i/aAhH/HtjSKiQsXGtWsgx2eoeHy5k6naEb+X r/ZS4aZVP2TbJ9CXQoFhj9balRyPsojTdkwlatGf5qohVe0rrmXrOoUrXi/U1FXO3hLuX8 713uD8iqo30FsTIqojAU4QNXEpZoKX64yacBmHJ78RoRNWf0OmHAY44/uXt7Vw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=T6y6Coi7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 6.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=T6y6Coi7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: D423E13B12 X-Spam-Score: 6.16 X-Migadu-Scanner: scn1.migadu.com X-TUID: 59rsnrjpPBeC Hi, bokr@bokr.com writes: > Hi Maxim, > > On +2022-09-16 15:00:22 -0400, Maxim Cournoyer wrote: >> Hi, >> >> Danny Milosavljevic writes: >> >> > The latest guix system reconfigure (of yesterday) left me unable to login into >> > my X session. guix system rollback DID NOT fix it. >> > >> > I would enter my password and it would "try" to login and return right back to >> > the gdm login screen. >> > >> > I've since removed gdm from my OS configuration (because I have to do actual >> > *work* on this computer), but I think it would have been enough to just >> > chown /var/lib/gdm and rm ~/.xsession-errors (!) in order to make it work >> > again. >> > >> > Does that mean that user ids are non-reproducible? >> > >> > Why not have user_id = hash(user_name) ? Then they *are* reproducible. >> >> That'd be cool, but how would you implement such a hash, that returns >> something fixed between 0 and 1024? That doesn't sound feasible, >> although I'm no hash function expert. >> > > To "return something fixed between 0 and 1024" (1023?) In a context > with less than 1024 users, couldn't one wrap Danny's "hash(username)" > with a local function that finds a 0..1023 index into a trusted table > of hash(username) values represented as string lines? I'm not sure I follow. If you had some pseudo-code, that might help me :-). > Similar to the idea of representing 32-bit sRGB 16-million-colors+transparency > with an 8-bit pallette index -- or even a 1-bit index for fg/bg alternates > to black/white. I'd need to read more deeply about the topic to understand, but I welcome mathematicians wizards to devise a cute little function to do that :-). > BTW, for the unlimited-number-of-users case, what sets the 1024 range limit? It's just a convention for "system" users, e.g. users typically not having a home directory, and perhaps other traits. It can differ between distributions. Some information about it here [0]. [0] https://unix.stackexchange.com/a/80279/82353 Thanks, Maxim