From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adonay Felipe Nogueira Subject: bug#26202: Guix in foreign distributions: setting XDG_DATA_DIRS causes user session to not start Date: Fri, 24 Mar 2017 20:44:02 -0300 Message-ID: <87wpbefdfh.fsf@openmailbox.org> References: <878tnz74fm.fsf@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crYtG-0002Kv-OT for bug-guix@gnu.org; Fri, 24 Mar 2017 19:45:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crYtC-0000OH-PK for bug-guix@gnu.org; Fri, 24 Mar 2017 19:45:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44705) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1crYtC-0000OD-M4 for bug-guix@gnu.org; Fri, 24 Mar 2017 19:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1crYtC-00052f-Gs for bug-guix@gnu.org; Fri, 24 Mar 2017 19:45:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1crYsU-00026E-AA for bug-guix@gnu.org; Fri, 24 Mar 2017 19:44:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1crYsQ-0000Ec-65 for bug-guix@gnu.org; Fri, 24 Mar 2017 19:44:18 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:48584 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1crYsP-0000E8-VL for bug-guix@gnu.org; Fri, 24 Mar 2017 19:44:14 -0400 In-Reply-To: <878tnz74fm.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Mon, 20 Mar 2017 23:24:13 -0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 26202@debbugs.gnu.org It turns out that the XDG_DATA_DIRS bug is due to foreign distributions using some Xsession.d scripts that do tests to check if that variable is empty, and if it does exist, then they do nothing. This causes the system to simply not set XDG_DATA_DIRS to useful values for foreign distributions, thus leaving the user with a never-ending log-in loop. So what must the user do? 1. Test without setting XDG_DATA_DIRS, and take note of its value. 2. Set XDG_DATA_DIRS as Guix tells you to, however, replace the following part: ${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS With the following: :[Value that you took note of, without this surrounding braces.] I hope this helps. :) Respectfully, Adonay. --=20 - [[https://libreplanet.org/wiki/User:Adfeno]] - Palestrante e consultor sobre /software/ livre (n=C3=A3o confundir com gratis). - "WhatsApp"? Ele n=C3=A3o =C3=A9 livre, por isso n=C3=A3o uso. Iguais a el= e prefiro Ring, ou Tox. Quer outras formas de contato? Adicione o vCard que est=C3=A1 no endere=C3=A7o acima aos teus contatos. - Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu aceito, mas n=C3=A3o repasso. Entrego apenas em formatos favor=C3=A1veis = ao /software/ livre. Favor entrar em contato em caso de d=C3=BAvida. - "People said I should accept the world. Bullshit! I don't accept the world." --- Richard Stallman