unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: David Lecompte via <help-guix@gnu.org>
To: Ricardo Wurmus <rekado@elephly.net>, 51224@debbugs.gnu.org
Cc: help-guix@gnu.org
Subject: Re: Cannot login (login screen loop) after some packages are installed
Date: Sun, 13 Feb 2022 13:54:25 +0000	[thread overview]
Message-ID: <f4886fa36a82214bd079669919609776fdfb6ae0.camel@metani.info> (raw)
In-Reply-To: <87ee47rw83.fsf@elephly.net>


[-- Attachment #1.1: Type: text/plain, Size: 1587 bytes --]

Le dimanche 13 février 2022 à 09:38 +0100, Ricardo Wurmus a écrit :
> Hi Nikos,
> 
> > I have succesfully installed guix in trisquel 9 (mate).
> > 
> > I have installed some packages and everything is working as
> > expected.
> […]
> > But when I install gnucash, or cawbird and reboot the system
> > doesn't
> > autologin and stays at login screen. Inserting the password is just
> > getting me back to the login screen.
> 
> I don’t know what the problem is, but I suspect that trisquel is
> unhappy
> with environment variables that Guix has set.  Guix defines variables
> based on the contents of your profile at ~/.guix-profile/etc/profile.
> In your shell initialization you probably load them; e.g. with this
> snippet in ~/.bash_profile:
> 
>     GUIX_PROFILE=$HOME/.guix-profile
>     source $GUIX_PROFILE/etc/profile
> 
> When you comment this Guix will not set any variables, so it has no
> way
> of affecting your environment at all.  Can you log in after removing
> these lines?  (You can evaluate these lines after logging in.)
> 
> If so, we should try to figure out which of these variables is
> responsible.  Could you please show the contents of that etc/profile
> file?  A common suspect is one of the XDG_* variables.
> 
> Hope that helps!
> 

Try adding the following line to your ~/.profile
export
XDG_DATA_DIRS="/usr/local/share:/usr/share/${XDG_DATA_DIRS:+:}$XDG_DATA
_DIRS"

This solution, brought by Adfeno, worked for me. This is the only
problem I had with Guix on Trisquel so far.

David.




[-- Attachment #1.2: publickey - david.lecompte@metani.info - 292b3e27.asc --]
[-- Type: application/pgp-keys, Size: 3212 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 855 bytes --]

      reply	other threads:[~2022-02-13 13:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-13  8:38 Cannot login (login screen loop) after some packages are installed Ricardo Wurmus
2022-02-13 13:54 ` David Lecompte via [this message]

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=f4886fa36a82214bd079669919609776fdfb6ae0.camel@metani.info \
    --to=help-guix@gnu.org \
    --cc=51224@debbugs.gnu.org \
    --cc=david.lecompte@metani.info \
    --cc=rekado@elephly.net \
    /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.
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).