unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26202: Guix in foreign distributions: setting XDG_DATA_DIRS causes user session to not start
@ 2017-03-21  2:24 Adonay Felipe Nogueira
  2017-03-24 23:44 ` Adonay Felipe Nogueira
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Adonay Felipe Nogueira @ 2017-03-21  2:24 UTC (permalink / raw)
  To: 26202

* 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26202: Guix in foreign distributions: setting XDG_DATA_DIRS causes user session to not start
  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
  2020-05-14 17:22 ` bug#26202: XDG_DATA_DIRS issue on foreign distro zimoun
  2020-05-15 22:15 ` Ryan Prior via Bug reports for GNU Guix
  2 siblings, 0 replies; 8+ messages in thread
From: Adonay Felipe Nogueira @ 2017-03-24 23:44 UTC (permalink / raw)
  To: 26202

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26202: XDG_DATA_DIRS issue on foreign distro
  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
@ 2020-05-14 17:22 ` zimoun
  2020-05-14 17:32   ` Nicolas Goaziou
  2020-05-15 22:15 ` Ryan Prior via Bug reports for GNU Guix
  2 siblings, 1 reply; 8+ messages in thread
From: zimoun @ 2020-05-14 17:22 UTC (permalink / raw)
  To: 26202, adfeno

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26202: XDG_DATA_DIRS issue on foreign distro
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2020-05-14 17:32 UTC (permalink / raw)
  To: zimoun; +Cc: 26202, adfeno

Hello,

zimoun <zimon.toutoune@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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26202: XDG_DATA_DIRS issue on foreign distro
  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
  0 siblings, 2 replies; 8+ messages in thread
From: zimoun @ 2020-05-15 14:47 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 26202, adfeno

Hi Nicolas,

On Thu, 14 May 2020 at 19:32, Nicolas Goaziou <mail@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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26202: XDG_DATA_DIRS issue on foreign distro
  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
  1 sibling, 0 replies; 8+ messages in thread
From: Nicolas Goaziou @ 2020-05-15 15:03 UTC (permalink / raw)
  To: zimoun; +Cc: 26202, adfeno

Hello,

zimoun <zimon.toutoune@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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26202: Guix in foreign distributions: setting XDG_DATA_DIRS causes user session to not start
  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
  2020-05-14 17:22 ` bug#26202: XDG_DATA_DIRS issue on foreign distro zimoun
@ 2020-05-15 22:15 ` Ryan Prior via Bug reports for GNU Guix
  2 siblings, 0 replies; 8+ messages in thread
From: Ryan Prior via Bug reports for GNU Guix @ 2020-05-15 22:15 UTC (permalink / raw)
  To: 26202

I can reproduce this bug in elemantary OS 5.1.4 with Guix
fbfaafae27893f74f47188ecd0bce54df38981bd

Ryan





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#26202: Guix in foreign distributions: setting XDG_DATA_DIRS causes user session to not start
  2020-05-15 14:47     ` zimoun
  2020-05-15 15:03       ` Nicolas Goaziou
@ 2022-10-07 19:46       ` Maxim Cournoyer
  1 sibling, 0 replies; 8+ messages in thread
From: Maxim Cournoyer @ 2022-10-07 19:46 UTC (permalink / raw)
  To: zimoun; +Cc: 26202-done, Nicolas Goaziou, adfeno

Hi,

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

> Hi Nicolas,
>
> On Thu, 14 May 2020 at 19:32, Nicolas Goaziou <mail@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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-10-07 19:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).