Debian Bug report logs - #638353
Cannot choose login language

version graph

Package: gdm3; Maintainer for gdm3 is Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>; Source for gdm3 is src:gdm3.

Reported by: Wouter Bolsterlee <uws@xs4all.nl>

Date: Thu, 18 Aug 2011 19:27:02 UTC

Severity: normal

Found in versions gdm3/3.0.4-4, gdm3/3.4.1-2, gdm3/3.4.1-4

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#638353; Package gdm3. (Thu, 18 Aug 2011 19:27:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wouter Bolsterlee <uws@xs4all.nl>:
New Bug report received and forwarded. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Thu, 18 Aug 2011 19:27:05 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Wouter Bolsterlee <uws@xs4all.nl>
To: Debian Bug Submission <submit@bugs.debian.org>
Subject: Cannot choose login language
Date: Thu, 18 Aug 2011 21:25:00 +0200
[Message part 1 (text/plain, inline)]
Package: gdm3

Since I've started using Gnome 3 from experimental, I can no longer choose a
language when logging in from the GDM screen. Additionally, when I select my
language from the Gnome 3 language selector (in the system settings dialog),
nothing changes after a re-login, and the desktop again shows up in English.

For some reason, I can't get my environment to run in Dutch, even though
"[Session] Language" in ~/.dmrc is set to nl_NL.utf8 (also in
/var/cache/gdm/uws/dmrc), and I don't know where to investigate further.

    — Wouter
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#638353; Package gdm3. (Thu, 18 Aug 2011 22:09:12 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wouter Bolsterlee <uws@xs4all.nl>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Thu, 18 Aug 2011 22:09:13 GMT) Full text and rfc822 format available.

Message #10 received at 638353@bugs.debian.org (full text, mbox):

From: Wouter Bolsterlee <uws@xs4all.nl>
To: 638353@bugs.debian.org
Subject: Hardcoding LANG in Xsession script "works" as a temporary work-around
Date: Fri, 19 Aug 2011 00:04:23 +0200
[Message part 1 (text/plain, inline)]
I have hardcoded $LANG in /etc/gdm3/Xsession, and now my environment
shows up in Dutch. The $GDM_LANG env var is set to the value "C". Is
~/.dmrc used at all nowadays, btw?

    — Wouter

=== modified file 'gdm3/Xsession'
*** gdm3/Xsession       2011-08-15 23:12:03 +0000
--- gdm3/Xsession       2011-08-18 22:00:43 +0000
***************
*** 154,187 ****
--- 154,188 ----
  if [ -n "$GDM_LANG" ]; then
      # Set the locale to that, it’s the language selected in GDM.
      LANG="$GDM_LANG"
      export LANG
  
      if [ -n "$LC_ALL" ] && [ "$LC_ALL" != "$LANG" ]; then
          LC_ALL="$LANG"
      fi
  
      # if GDM_LANG isn't first in LANGUAGE, then unset it.
      if [ -n "$LANGUAGE" ]; then
          if echo "$LANGUAGE" | grep -q -- "^$GDM_LANG"; then
             :
          else
             unset LANGUAGE
          fi
      fi
+     export LANG="nl_NL.UTF-8"
  fi

[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#638353; Package gdm3. (Fri, 19 Aug 2011 07:45:31 GMT) Full text and rfc822 format available.

Acknowledgement sent to 638353@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Fri, 19 Aug 2011 07:45:31 GMT) Full text and rfc822 format available.

Message #15 received at 638353@bugs.debian.org (full text, mbox):

From: Josselin Mouette <joss@debian.org>
To: Wouter Bolsterlee <uws@xs4all.nl>, 638353@bugs.debian.org
Subject: Re: Bug#638353: Hardcoding LANG in Xsession script "works" as a temporary work-around
Date: Fri, 19 Aug 2011 09:38:58 +0200
Le vendredi 19 août 2011 à 00:04 +0200, Wouter Bolsterlee a écrit : 
> I have hardcoded $LANG in /etc/gdm3/Xsession, and now my environment
> shows up in Dutch. The $GDM_LANG env var is set to the value "C". Is
> ~/.dmrc used at all nowadays, btw?

No. This data is now stored in /var/lib/AccountsService/users/$user. It
should be set through the control center language panel, but apparently
that’s what doesn’t work on your system.

Is the file in /var/lib/AccountsService correctly updated when you do
the change in the control center?

(Note that if you want to set a default system language, you should do
it in /etc/default/locale which is the Debian standard, instead of
hacking startup scripts.)

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'
  `-





Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#638353; Package gdm3. (Fri, 28 Oct 2011 12:31:56 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stéphane Glondu <glondu@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Fri, 28 Oct 2011 12:32:13 GMT) Full text and rfc822 format available.

Message #20 received at 638353@bugs.debian.org (full text, mbox):

From: Stéphane Glondu <glondu@debian.org>
To: Josselin Mouette <joss@debian.org>
Cc: 638353@bugs.debian.org, Wouter Bolsterlee <uws@xs4all.nl>
Subject: Re: Bug#638353: Hardcoding LANG in Xsession script "works" as a, temporary work-around
Date: Fri, 28 Oct 2011 13:37:55 +0200
Hello,

While trying to set the language in my GNOME session, I found this bug.

> Is the file in /var/lib/AccountsService correctly updated when you do
> the change in the control center?

It is.

> (Note that if you want to set a default system language, you should do
> it in /etc/default/locale which is the Debian standard, instead of
> hacking startup scripts.)

Is there any other way to do it for a specific user? (not system-wide) I
tried ~/.profile, ~/.pam_environment, I learnt here about ~/.dmrc which
is said not to work. In my /etc/default/locale, LANG is set to
en_US.UTF-8, and I cannot change it.


Cheers,

-- 
Stéphane




Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#638353; Package gdm3. (Wed, 02 Nov 2011 19:30:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wouter Bolsterlee <uws@xs4all.nl>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Wed, 02 Nov 2011 19:30:03 GMT) Full text and rfc822 format available.

Message #25 received at 638353@bugs.debian.org (full text, mbox):

From: Wouter Bolsterlee <uws@xs4all.nl>
To: 638353@bugs.debian.org
Subject: no lower panel at all in gdm3 login screen
Date: Wed, 02 Nov 2011 20:26:30 +0100
[Message part 1 (text/plain, inline)]
Hmmm. There is no lower panel (for language/keybord selection) *at all*
in my GDM3 login screen, not even after purging and reinstalling the
package. On a different machine I don't have this problem. Any clue?

    — Wouter
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#638353; Package gdm3. (Thu, 03 Nov 2011 09:06:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to 638353@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Thu, 03 Nov 2011 09:06:07 GMT) Full text and rfc822 format available.

Message #30 received at 638353@bugs.debian.org (full text, mbox):

From: Josselin Mouette <joss@debian.org>
To: Wouter Bolsterlee <uws@xs4all.nl>, 638353@bugs.debian.org
Subject: Re: Bug#638353: no lower panel at all in gdm3 login screen
Date: Thu, 03 Nov 2011 10:03:23 +0100
Le mercredi 02 novembre 2011 à 20:26 +0100, Wouter Bolsterlee a écrit : 
> Hmmm. There is no lower panel (for language/keybord selection) *at all*
> in my GDM3 login screen, not even after purging and reinstalling the
> package. On a different machine I don't have this problem. Any clue?

The lower panel is gone in version 3.0.

-- 
 .''`.      Josselin Mouette
: :' :
`. `'
  `-





Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#638353; Package gdm3. (Thu, 03 Nov 2011 19:27:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wouter Bolsterlee <uws@xs4all.nl>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Thu, 03 Nov 2011 19:27:03 GMT) Full text and rfc822 format available.

Message #35 received at 638353@bugs.debian.org (full text, mbox):

From: Wouter Bolsterlee <uws@xs4all.nl>
To: 638353@bugs.debian.org
Subject: Re: Bug#638353: no lower panel at all in gdm3 login screen
Date: Thu, 03 Nov 2011 20:22:38 +0100
[Message part 1 (text/plain, inline)]
Josselin Mouette schreef op do 03-11-2011 om 10:03 [+0100]:
> The lower panel is gone in version 3.0.

Okay, that's a design choice, I presume.

The problem remains; I still can't use my language from the system
settings panel even though the file in /var/lib/AccountsService/users
contains this:

  [User]
  Language=nl_NL.utf8
  XSession=gnome-fallback

...so I'm still using the hardcoded nl_NL.utf8 in /etc/gdm3/Xsession,
which of course is a hack that only works on machines I actually have
root access to. I don't know how to investigate this any further and
would appreciate any assistance on debugging this.

    — Wouter
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#638353; Package gdm3. (Sat, 12 Nov 2011 12:54:18 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Neudecker <zapyon@gmx.net>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Sat, 12 Nov 2011 12:54:18 GMT) Full text and rfc822 format available.

Message #40 received at 638353@bugs.debian.org (full text, mbox):

From: Andreas Neudecker <zapyon@gmx.net>
To: 638353@bugs.debian.org
Subject: gdm3: This is also a problem when using GDM3 with XFCE
Date: Sat, 12 Nov 2011 13:50:20 +0100
Package: gdm3
Version: 3.0.4-4
Followup-For: Bug #638353

Dear Maintainer,

I am using GDM3 with XFCE and currently have no GNOME installed. How
then am I supposed to select the session language if not in GDM3? And I
do have users using different languages so a system-wide setup will not
help. As I have already reported with bug #648220 GDM3 also doesn't
honour previous session's selection. After what you mentioned above
about /var/lib/AccountsService/users/$user I get the impression that
GDM3 doesn't evaluate or use the settings in that file. In that case
both bugs might be related and could be merged.

Kind regards

Andreas



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gdm3 depends on:
ii  accountsservice                             0.6.15-1
ii  adduser                                     3.113
ii  dconf-gsettings-backend                     0.7.5-3
ii  debconf [debconf-2.0]                       1.5.40
ii  gconf2                                      2.32.4-1
ii  gnome-session [x-session-manager]           3.0.2-3
ii  gnome-session-bin                           3.0.2-3
ii  gnome-session-fallback [x-session-manager]  3.0.2-3
ii  gnome-terminal [x-terminal-emulator]        3.0.1-1
ii  gsettings-desktop-schemas                   3.0.1-1
ii  libaccountsservice0                         0.6.15-1
ii  libatk1.0-0                                 2.2.0-2
ii  libattr1                                    1:2.4.46-3
ii  libaudit0                                   1.7.18-1
ii  libc6                                       2.13-21
ii  libcairo-gobject2                           1.10.2-6.1
ii  libcairo2                                   1.10.2-6.1
ii  libcanberra-gtk3-0                          0.28-3
ii  libcanberra0                                0.28-3
ii  libdbus-1-3                                 1.4.16-1
ii  libdbus-glib-1-2                            0.98-1
ii  libfontconfig1                              2.8.0-3
ii  libfreetype6                                2.4.7-2
ii  libgconf2-4                                 2.32.4-1
ii  libgdk-pixbuf2.0-0                          2.24.0-1
ii  libglib2.0-0                                2.28.8-1
ii  libglib2.0-bin                              2.28.8-1
ii  libgtk-3-0                                  3.0.12-2
ii  libpam-modules                              1.1.3-4
ii  libpam-runtime                              1.1.3-4
ii  libpam0g                                    1.1.3-4
ii  libpango1.0-0                               1.29.4-2
ii  librsvg2-common                             2.34.1-3
ii  libselinux1                                 2.1.0-4
ii  libupower-glib1                             0.9.14-1
ii  libwrap0                                    7.6.q-21
ii  libx11-6                                    2:1.4.4-2
ii  libxau6                                     1:1.0.6-3
ii  libxdmcp6                                   1:1.1.0-3
ii  libxklavier16                               5.1-2
ii  libxrandr2                                  2:1.3.2-2
ii  lsb-base                                    3.2-28
ii  metacity [x-window-manager]                 1:2.34.1-2
ii  mutter [x-window-manager]                   3.0.2.1-4
ii  policykit-1-gnome                           0.102-2
ii  twm [x-window-manager]                      1:1.0.6-1
ii  upower                                      0.9.14-1
ii  xfce4-session [x-session-manager]           4.8.2-1
ii  xfce4-terminal [x-terminal-emulator]        0.4.8-1
ii  xfwm4 [x-window-manager]                    4.8.2-1
ii  xterm [x-terminal-emulator]                 276-1

Versions of packages gdm3 recommends:
ii  at-spi                 1.32.0-1
ii  desktop-base           6.0.7
ii  gnome-icon-theme       3.2.1.2-1
ii  gnome-power-manager    3.0.2-3
ii  gnome-settings-daemon  3.0.3-3
ii  x11-xkb-utils          7.6+4
ii  xserver-xephyr         2:1.11.1.901-2
ii  xserver-xorg           1:7.6+9
ii  zenity                 3.2.0-1

Versions of packages gdm3 suggests:
ii  gnome-mag             <none>
ii  gnome-orca            <none>
ii  gok                   <none>
ii  libpam-gnome-keyring  3.0.3-2
ii  metacity              1:2.34.1-2

-- Configuration Files:
/etc/gdm3/greeter.gconf-defaults changed:
/apps/gdm/simple-greeter/logo_icon_name 	debian-swirl
/apps/gdm/simple-greeter/banner_message_enable		false
/apps/gdm/simple-greeter/disable_user_list		true
/apps/metacity/general/compositing_manager		false
/apps/gnome-power-manager/ui/icon_policy		never


-- debconf information:
* shared/default-x-display-manager: gdm3
  gdm3/daemon_name: /usr/sbin/gdm3




Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#638353; Package gdm3. (Tue, 24 Jul 2012 00:57:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Tue, 24 Jul 2012 00:57:06 GMT) Full text and rfc822 format available.

Message #45 received at 638353@bugs.debian.org (full text, mbox):

From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Debian Bug Tracking System <638353@bugs.debian.org>
Subject: Re: Cannot choose login language
Date: Tue, 24 Jul 2012 02:29:28 +0200
Package: gdm3
Version: 3.4.1-2
Followup-For: Bug #638353

Just a short heads up, there is a related bug report in the
RedHat bugzilla and it seems they are considering re-introducing
the language selector in future versions of gdm3, see:

https://bugzilla.redhat.com/show_bug.cgi?id=681750

Cheers,

Adrian



Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#638353; Package gdm3. (Tue, 24 Jul 2012 01:57:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to YunQiang Su <wzssyqa@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Tue, 24 Jul 2012 01:57:06 GMT) Full text and rfc822 format available.

Message #50 received at 638353@bugs.debian.org (full text, mbox):

From: YunQiang Su <wzssyqa@gmail.com>
To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>, 638353@bugs.debian.org
Subject: Re: Bug#638353: Cannot choose login language
Date: Tue, 24 Jul 2012 09:53:26 +0800
Ubuntu had a bug that cannot choose language before 10.04 for long time,
and finally workaround it before 10.04 release.

It seems that they cannot determine how to choose language: by
$LANGUAGE or some way else.

-- 
YunQiang Su



Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#638353; Package gdm3. (Tue, 27 Nov 2012 17:36:14 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jaap Winius <jwinius@umrk.nl>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Tue, 27 Nov 2012 17:36:14 GMT) Full text and rfc822 format available.

Message #55 received at 638353@bugs.debian.org (full text, mbox):

From: Jaap Winius <jwinius@umrk.nl>
To: Debian Bug Tracking System <638353@bugs.debian.org>
Subject: Re: Bug#638353: Cannot choose login language
Date: Tue, 27 Nov 2012 18:18:41 +0100
Package: gdm3
Version: 3.4.1-4
Followup-For: Bug #638353

Perhaps I missed something, but today I've been busy testing a wheezy  
upgrade for the squeeze workstations at my site and noticed that the  
gdm package was no longer available.

It seems that we are expected to use gdm3 instead, with its new wheezy  
artwork. But while it looks nice and I'd be happy to use it, there is  
apparently still no option for users to select a language, which in my  
case is critical.

As a workaround, I've downloaded a copy of the previous gdm package  
(gdm_2.20.11-4_amd64.deb, which still has the old squeeze artwork but  
otherwise works just fine) and will be using that until this issue  
with gdm3 is resolved.

By the way, I'm also using Xfce and for me an additional disadvantage  
of gdm3 is that it (currently) causes about 97 other Gnome  
dependencies to be installed, many of which will probably never be used.

Cheers,

Jaap



Information forwarded to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>:
Bug#638353; Package gdm3. (Thu, 29 Nov 2012 15:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 638353@bugs.debian.org:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>. (Thu, 29 Nov 2012 15:18:02 GMT) Full text and rfc822 format available.

Message #60 received at 638353@bugs.debian.org (full text, mbox):

From: Josselin Mouette <joss@debian.org>
To: Jaap Winius <jwinius@umrk.nl>, 638353@bugs.debian.org
Subject: Re: Bug#638353: Cannot choose login language
Date: Thu, 29 Nov 2012 16:15:37 +0100
Le mardi 27 novembre 2012 à 18:18 +0100, Jaap Winius a écrit : 
> Perhaps I missed something, but today I've been busy testing a wheezy  
> upgrade for the squeeze workstations at my site and noticed that the  
> gdm package was no longer available.

As mentioned in the squeeze release notes, gdm is only here for
convenience in squeeze. The default login manager is gdm3 (which happens
to not have the bug you mention in the squeeze version).

> It seems that we are expected to use gdm3 instead, with its new wheezy  
> artwork. But while it looks nice and I'd be happy to use it, there is  
> apparently still no option for users to select a language, which in my  
> case is critical.

The user’s language is now stored in AccountsService. It can be set
within gnome-control-center or using the DBus interface.

As already stated, this is an upstream design change in 3.4 that I
completely disagree with, and I’ll happily accept patches that add back
keyboard selection to the login screen.

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'
  `-




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 00:11:23 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.