all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Cannot login (login screen loop) after some packages are installed
@ 2022-02-13  8:38 Ricardo Wurmus
  2022-02-13 13:54 ` David Lecompte via
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2022-02-13  8:38 UTC (permalink / raw)
  To: 51224; +Cc: help-guix

Hi Nikos,

my apologies for the long delay.  You may have better luck on
help-guix@gnu.org; bug-guix@gnu.org is usually for bugs which can be
reproduced by others.

> 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!

-- 
Ricardo


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

* Re: Cannot login (login screen loop) after some packages are installed
  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
  0 siblings, 0 replies; 2+ messages in thread
From: David Lecompte via @ 2022-02-13 13:54 UTC (permalink / raw)
  To: Ricardo Wurmus, 51224; +Cc: help-guix


[-- 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 --]

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

end of thread, other threads:[~2022-02-13 13:54 UTC | newest]

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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.