GNU bug report logs -
#26202
Guix in foreign distributions: setting XDG_DATA_DIRS causes user session to not start
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26202 in the body.
You can then email your comments to 26202 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#26202
; Package
guix
.
(Tue, 21 Mar 2017 02:25:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Adonay Felipe Nogueira <adfeno <at> openmailbox.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 21 Mar 2017 02:25:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26202
; Package
guix
.
(Fri, 24 Mar 2017 23:45:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Severity set to 'important' from 'normal'
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Thu, 11 May 2017 08:58:02 GMT)
Full text and
rfc822 format available.
Changed bug submitter to 'adfeno <at> hyperbola.info' from 'Adonay Felipe Nogueira <adfeno <at> openmailbox.org>'
Request was from
Adonay Felipe Nogueira <adfeno <at> hyperbola.info>
to
control <at> debbugs.gnu.org
.
(Tue, 09 Jan 2018 13:43:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26202
; Package
guix
.
(Thu, 14 May 2020 17:23:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 26202 <at> debbugs.gnu.org (full text, mbox):
Dear,
In this old bug [1], you described an issue using ~/.profile,
XDG_DATA_DIRS and GNOME on the foreign distro Trisquel 7.
I am not able to reproduce the issue on Debian.
Because it is old, could you say if this bug is still an issue? or if
it is now solved for you.
Best regards,
simon
[1] http://issues.guix.gnu.org/issue/26202
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26202
; Package
guix
.
(Thu, 14 May 2020 17:33:01 GMT)
Full text and
rfc822 format available.
Message #18 received at 26202 <at> debbugs.gnu.org (full text, mbox):
Hello,
zimoun <zimon.toutoune <at> gmail.com> writes:
> In this old bug [1], you described an issue using ~/.profile,
> XDG_DATA_DIRS and GNOME on the foreign distro Trisquel 7.
>
> I am not able to reproduce the issue on Debian.
Interesting.
> Because it is old, could you say if this bug is still an issue? or if
> it is now solved for you.
I cannot answer for the OP, but bug 35308, which may be related, is
still acute.
Regards,
--
Nicolas Goaziou
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26202
; Package
guix
.
(Fri, 15 May 2020 14:48:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 26202 <at> debbugs.gnu.org (full text, mbox):
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.
--8<---------------cut here---------------start------------->8---
- 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.
--8<---------------cut here---------------end--------------->8---
> I cannot answer for the OP, but bug 35308, which may be related, is
> still acute.
I am not able to say if the bug is only related and could be merged.
All the best,
simon
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26202
; Package
guix
.
(Fri, 15 May 2020 15:04:01 GMT)
Full text and
rfc822 format available.
Message #24 received at 26202 <at> debbugs.gnu.org (full text, mbox):
Hello,
zimoun <zimon.toutoune <at> gmail.com> writes:
> The Gnome that I use for testing is the Gnome from Debian. The
> initial bug report was about Trisquel/Ubuntu.
[...]
> I am not able to say if the bug is only related and could be merged.
OK. Sorry for the noise, then.
Regards,
--
Nicolas Goaziou
Information forwarded
to
bug-guix <at> gnu.org
:
bug#26202
; Package
guix
.
(Fri, 15 May 2020 22:17:01 GMT)
Full text and
rfc822 format available.
Message #27 received at 26202 <at> debbugs.gnu.org (full text, mbox):
I can reproduce this bug in elemantary OS 5.1.4 with Guix
fbfaafae27893f74f47188ecd0bce54df38981bd
Ryan
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Fri, 07 Oct 2022 19:47:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
adfeno <at> hyperbola.info
:
bug acknowledged by developer.
(Fri, 07 Oct 2022 19:47:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 26202-done <at> debbugs.gnu.org (full text, mbox):
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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 05 Nov 2022 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 144 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.