GNU bug report logs -
#35308
GDM refuses to log into Gnome on Debian 9 or 10
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35308 in the body.
You can then email your comments to 35308 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#35308
; Package
guix
.
(Wed, 17 Apr 2019 18:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 17 Apr 2019 18:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
I use Guix on top of Debian, with Gnome DE. Once I'm at GDM screen and
I log in successfully, nothing happens, and I'm back to GDM screen. The
only workaround I found is to add the following lines in my .profile:
unset GI_TYPELIB_PATH
unset XDG_DATA_DIRS
Then I can get past GDM. The fix doesn't work if i omit either line. It
doesn't make a difference if I use standard Gnome, or Gnome Wayland. It
doesn't make a difference if I use Debian Testing instead of Stable.
This is not a great fix because applications installed through Guix do
not appear in the Applications menu.
I wasn't able to get any error message to chew on.
Help is welcome.
Regards,
--
Nicolas Goaziou
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Fri, 15 May 2020 14:50:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 35308 <at> debbugs.gnu.org (full text, mbox):
Dear Nicolas,
Do you use Gnome from Guix or Gnome from Debian?
All the best,
simon
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Fri, 15 May 2020 15:03:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 35308 <at> debbugs.gnu.org (full text, mbox):
Hello,
zimoun <zimon.toutoune <at> gmail.com> writes:
> Do you use Gnome from Guix or Gnome from Debian?
From Debian.
Regards,
--
Nicolas Goaziou
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Fri, 15 May 2020 15:20:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 35308 <at> debbugs.gnu.org (full text, mbox):
On Fri, 15 May 2020 at 17:02, Nicolas Goaziou <mail <at> nicolasgoaziou.fr> wrote:
> > Do you use Gnome from Guix or Gnome from Debian?
>
> From Debian.
Since I am currently running Guix on the top of Debian stable with
Gnome installed, I could try to reproduce and investigate.
However, I am not a Gnome user...
Could you indicate me which configuration files I need to tweak?
My Guix stuff are in ~/.bash_profile. I do no use XDG (yet) and I
have only tried to add export XDG_DATA_DIRS with ~/.profile only.
I have a guest account which log by default to Gnome but I have
noticed an issue.
Cheers,
simon
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Fri, 15 May 2020 19:39:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 35308 <at> debbugs.gnu.org (full text, mbox):
zimoun <zimon.toutoune <at> gmail.com> writes:
> Could you indicate me which configuration files I need to tweak?
> My Guix stuff are in ~/.bash_profile.
I use ~/.profile, as ~/.bash_profile is not sourced in Wayland, IIRC.
But there's nothing fancy in there, just a few exports, e.g.,
export GUIX_PACKAGE_PATH="$HOME/dev/guix-packages"
export SSL_CERT_DIR="$GUIX_PROFILE/etc/ssl/certs"
export SSL_CERT_FILE="$SSL_CERT_DIR/ca-certificates.crt"
and the two unset directives mentioned in the bug report:
unset GI_TYPELIB_PATH
unset XDG_DATA_DIRS
> I do no use XDG (yet) and I have only tried to add export
> XDG_DATA_DIRS with ~/.profile only. I have a guest account which log
> by default to Gnome but I have noticed an issue.
Interestingly, I bisected my packages to the rather minimal:
(specifications->manifest '("python-matplotlib"))
With a profile containing just this single package, I cannot go past GDM
if I don't unset the two environment variables above.
I assume there is something fishy in this package, or, more probably, in
its propagated inputs. WDYT?
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Thu, 19 Nov 2020 14:04:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 35308 <at> debbugs.gnu.org (full text, mbox):
Hello,
I digged further, and tracked propagated inputs from
"python-matplotlib". So, it propagates "python-cairo", which in turn
propagates "cairo", and then "glib". Also, no propagated input from
"glib" has an issue with GDM, this is the stop point.
So, basically, if your manifest is:
(specifications->manifest '("glib"))
and you use GDM from a foreign distro (Debian 10 in my case), you cannot
log in.
The only workaround I know of at this point is to add the following
lines to, e.g., ".profile":
unset GI_TYPELIB_PATH
unset XDG_DATA_DIRS
Help would be appreciated at this point.
Regards,
--
Nicolas Goaziou
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Fri, 17 Dec 2021 09:01:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 35308 <at> debbugs.gnu.org (full text, mbox):
I went a bit further:
The issue is not specifically glib-related, but can be reproduced with
any package using the following:
(search-path-specification
(variable "XDG_DATA_DIRS")
...)
Hence, the following manifest can reproduce the problem:
(specifications->manifest '("fontconfig"))
even though fontconfig does not depend on glib (but does search XDG_DATA_DIRS).
--
Nicolas Goaziou
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Fri, 17 Dec 2021 10:53:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 35308 <at> debbugs.gnu.org (full text, mbox):
Hello Nicolas,
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:
> I went a bit further:
>
> The issue is not specifically glib-related, but can be reproduced with
> any package using the following:
>
> (search-path-specification
> (variable "XDG_DATA_DIRS")
> ...)
>
> Hence, the following manifest can reproduce the problem:
>
> (specifications->manifest '("fontconfig"))
>
> even though fontconfig does not depend on glib (but does search XDG_DATA_DIRS).
Someone on IRC had this exact problem (down to the fontconfig minimal
reproducer :) ), and thanks to your pointer about XDG_DATA_DIRS, I've
figured out what the issue is.
The XDG specification says that if XDG_DATA_DIRS is unset, a default
value of `/usr/local/share/:/usr/share/` should be used in its place.
On Debian, that env var is not explicitely set, so applications use that
default value, but when we prepend to it, it effectively removes both of
these directories from the search path.
As a workaround, you can do `export
XDG_DATA_DIRS=/usr/local/share/:/usr/share/` right before sourcing the
guix profile in your .bash_profile. I don't know what the best course
of action here is to have better OOB support. Is it possible to have
env vars set by Guix have a default value if unset?
Best,
Josselin Poiret
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Fri, 17 Dec 2021 12:27:01 GMT)
Full text and
rfc822 format available.
Message #29 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
Josselin Poiret via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:
> Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:
>
>> I went a bit further:
>>
>> The issue is not specifically glib-related, but can be reproduced with
>> any package using the following:
>>
>> (search-path-specification
>> (variable "XDG_DATA_DIRS")
>> ...)
[...]
> The XDG specification says that if XDG_DATA_DIRS is unset, a default
> value of `/usr/local/share/:/usr/share/` should be used in its place.
> On Debian, that env var is not explicitely set, so applications use that
> default value, but when we prepend to it, it effectively removes both of
> these directories from the search path.
>
> As a workaround, you can do `export
> XDG_DATA_DIRS=/usr/local/share/:/usr/share/` right before sourcing the
> guix profile in your .bash_profile.
You're right. The above fixes the issue with fontconfig. Unfortunately,
the problem persists with the minimal manifest:
(specifications->manifest '("python-matplotlib"))
So there's something else going on.
In order to fix the above, I need to put
unset GI_TYPELIB_PATH
in my .profile, after having sourced Guix profile. Maybe this
environment variable also has a special default value when unset.
> I don't know what the best course
> of action here is to have better OOB support. Is it possible to have
> env vars set by Guix have a default value if unset?
I think it is desirable, in particular for fontconfig, which is
a recommended package in the manual. The part of Guix responsible for
generating the profile file may be more careful when setting
XDG_DATA_DIRS, e.g., with something like (untested):
export XDG_DATA_DIRS=\
"${GUIX_PROFILE:-/gnu/store/…-profile}/share${XDG_DATA_DIRS:+:}${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}"
Regards,
--
Nicolas Goaziou
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Fri, 17 Dec 2021 12:27:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Fri, 17 Dec 2021 12:34:01 GMT)
Full text and
rfc822 format available.
Message #35 received at submit <at> debbugs.gnu.org (full text, mbox):
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:
> You're right. The above fixes the issue with fontconfig. Unfortunately,
> the problem persists with the minimal manifest:
>
> (specifications->manifest '("python-matplotlib"))
>
> So there's something else going on.
>
> In order to fix the above, I need to put
>
> unset GI_TYPELIB_PATH
>
> in my .profile, after having sourced Guix profile. Maybe this
> environment variable also has a special default value when unset.
Can you try again with `export
GI_TYPELIB_PATH=/usr/lib/girepository-1.0/` before sourcing the profile?
Best,
Josselin Poiret
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Fri, 17 Dec 2021 12:34:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Fri, 17 Dec 2021 17:12:02 GMT)
Full text and
rfc822 format available.
Message #41 received at submit <at> debbugs.gnu.org (full text, mbox):
Josselin Poiret <dev <at> jpoiret.xyz> writes:
> Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:
>
>> You're right. The above fixes the issue with fontconfig. Unfortunately,
>> the problem persists with the minimal manifest:
>>
>> (specifications->manifest '("python-matplotlib"))
>>
>> So there's something else going on.
>>
>> In order to fix the above, I need to put
>>
>> unset GI_TYPELIB_PATH
>>
>> in my .profile, after having sourced Guix profile. Maybe this
>> environment variable also has a special default value when unset.
>
> Can you try again with `export
> GI_TYPELIB_PATH=/usr/lib/girepository-1.0/` before sourcing the
> profile?
Tough luck. The problem is still there.
Regards,
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Fri, 17 Dec 2021 17:12:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#35308
; Package
guix
.
(Thu, 06 Jul 2023 09:32:01 GMT)
Full text and
rfc822 format available.
Message #47 received at 35308 <at> debbugs.gnu.org (full text, mbox):
Hi,
I ran today into this problem using Ubuntu 22.04.2 LTS, and Josselin
Poiret's fix worked perfectly:
`export GI_TYPELIB_PATH=/usr/lib/girepository-1.0/`
I installed Guix already some time ago, and the guix-install.sh script
I used was very different from the one currently in master. So before
applying this fix, I ran these functions from the script:
sys_create_init_profile
sys_create_shell_completion
sys_customize_bashrc
Then I added the export GI_TYPELIB_PATH to /etc/profile.d/zzz-guix.sh,
restarted the laptop, and problem solved.
Best,
Rafa
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Sat, 01 Mar 2025 17:27:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
bug acknowledged by developer.
(Sat, 01 Mar 2025 17:27:03 GMT)
Full text and
rfc822 format available.
Message #52 received at 35308-done <at> debbugs.gnu.org (full text, mbox):
Closing this as I haven’t been able to reproduce the problem during the
last couple of years.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 30 Mar 2025 11:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 40 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.