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

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