GNU bug report logs - #26202
Guix in foreign distributions: setting XDG_DATA_DIRS causes user session to not start

Previous Next

Package: guix;

Reported by: adfeno <at> hyperbola.info

Date: Tue, 21 Mar 2017 02:25:02 UTC

Severity: important

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#26202: closed (Guix in foreign distributions: setting
 XDG_DATA_DIRS causes user session to not start)
Date: Fri, 07 Oct 2022 19:47:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 07 Oct 2022 15:46:20 -0400
with message-id <87wn9b4dtf.fsf_-_ <at> gmail.com>
and subject line Re: bug#26202: Guix in foreign distributions: setting XDG_DATA_DIRS causes user session to not start
has caused the debbugs.gnu.org bug report #26202,
regarding Guix in foreign distributions: setting XDG_DATA_DIRS causes user session to not start
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
26202: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26202
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Adonay Felipe Nogueira <adfeno <at> openmailbox.org>
To: Relatórios de falhas do Guix e GuixSD <bug-guix <at> gnu.org>
Subject: Guix in foreign distributions: setting XDG_DATA_DIRS causes user
 session to not start
Date: Mon, 20 Mar 2017 23:24:13 -0300
* Steps to reproduce

1. Edit "~/.profile" and add:

export GUIX_PROFILE="${HOME}/.guix-profile"
export XDG_DATA_DIRS="${GUIX_PROFILE}/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"

2. Log out and try to log in again.

* Current behavior

The *host's* GNOME Flashback session (gnome-session
--session=gnome-flashback) attempts to start, however, it's aborted
shortly after successful log-in.

"~/.xsession-errors" file shows something similar to:

# Begin of file
gnome-session: GLib-GIO-ERROR: Settings schema
'org.gnome.SessionManager' is not installed.

aborting...
# End of file

* Additional information

- In this case, I'm using Trisquel 7.
- `gnome-session` command is provided by the
  "gnome-session-bin", version 3.9.90-0ubuntu12.1+7.0trisquel2.
- Display manager is lightdm (Trisquel 7's default), version
  1.10.6-0ubuntu1+7.0trisquel1.
- Being a "~/.profile" setting, the problem is not found unless the user
- logs-out and back in.

* Personal comment

This might become a problem if Guix starts suggesting people to
customize $XDG_DATA_DIRS in their "~/.profile".


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


[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 26202-done <at> debbugs.gnu.org, Nicolas Goaziou <mail <at> nicolasgoaziou.fr>,
 adfeno <at> openmailbox.org
Subject: Re: bug#26202: Guix in foreign distributions: setting XDG_DATA_DIRS
 causes user session to not start
Date: Fri, 07 Oct 2022 15:46:20 -0400
Hi,

zimoun <zimon.toutoune <at> gmail.com> writes:

> Hi Nicolas,
>
> On Thu, 14 May 2020 at 19:32, Nicolas Goaziou <mail <at> nicolasgoaziou.fr> wrote:
>
>> Interesting.
>
> The Gnome that I use for testing is the Gnome from Debian.  The
> initial bug report was about Trisquel/Ubuntu.
>
> - In this case, I'm using Trisquel 7.
> - `gnome-session` command is provided by the
>   "gnome-session-bin", version 3.9.90-0ubuntu12.1+7.0trisquel2.
> - Display manager is lightdm (Trisquel 7's default), version
>   1.10.6-0ubuntu1+7.0trisquel1.

I'm confident that this got resolved with
30810aff713149d53cb25f36ae6d721ec66385da and
7ff169d04f52b15393b33a97959e2cd6a5957e26 of guix-install.sh.

Closing!

-- 
Thanks,
Maxim


This bug report was last modified 2 years and 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.