unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Adonay Felipe Nogueira <adfeno@openmailbox.org>
To: 26202@debbugs.gnu.org
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	[thread overview]
Message-ID: <87wpbefdfh.fsf@openmailbox.org> (raw)
In-Reply-To: <878tnz74fm.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Mon, 20 Mar 2017 23:24:13 -0300")

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.
-- 
- [[https://libreplanet.org/wiki/User:Adfeno]]
- Palestrante e consultor sobre /software/ livre (não confundir com
  gratis).
- "WhatsApp"? Ele não é livre, por isso não uso. Iguais a ele prefiro
  Ring, ou Tox. Quer outras formas de contato? Adicione o vCard que
  está no endereço acima aos teus contatos.
- Pretende me enviar arquivos .doc, .ppt, .cdr, ou .mp3? OK, eu
  aceito, mas não repasso. Entrego apenas em formatos favoráveis ao
  /software/ livre. Favor entrar em contato em caso de dúvida.
- "People said I should accept the world. Bullshit! I don't accept the
  world."
                                                 --- Richard Stallman

  reply	other threads:[~2017-03-24 23:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-21  2:24 bug#26202: Guix in foreign distributions: setting XDG_DATA_DIRS causes user session to not start Adonay Felipe Nogueira
2017-03-24 23:44 ` Adonay Felipe Nogueira [this message]
2020-05-14 17:22 ` bug#26202: XDG_DATA_DIRS issue on foreign distro zimoun
2020-05-14 17:32   ` Nicolas Goaziou
2020-05-15 14:47     ` zimoun
2020-05-15 15:03       ` Nicolas Goaziou
2022-10-07 19:46       ` bug#26202: Guix in foreign distributions: setting XDG_DATA_DIRS causes user session to not start Maxim Cournoyer
2020-05-15 22:15 ` Ryan Prior via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wpbefdfh.fsf@openmailbox.org \
    --to=adfeno@openmailbox.org \
    --cc=26202@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).