Bug 27132

Summary: session locales through display managers are not working
Product: Mageia Reporter: Joseph Wang <joequant>
Component: RPM PackagesAssignee: Jani Välimaa <jani.valimaa>
Status: NEW --- QA Contact:
Severity: major    
Priority: Normal CC: ouaurelien
Version: CauldronKeywords: NEEDINFO
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: lightdm-1.26.0-11.mga8.src.rpm CVE:
Status comment:

Description Joseph Wang 2020-08-19 05:04:10 CEST
Description of problem:

Setting the display manager to an alternative locale is not changing the locale.
The problem seems to be that display manager is using accountservices, but
the locale is being set with environment variables, which are ignoring the entries in accountservices


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. set systemconfig to one locale
2. use display manager to log into another locale
3. new locale does not appear
Comment 2 Aurelien Oudelet 2020-08-19 16:51:47 CEST
Hi,
Thanks reporting,

What display manager are you running?

Also, on Plasma, accounts-daemon.service - Accounts Service - is not enabled by default.

CC: (none) => ouaurelien
Keywords: (none) => NEEDINFO

Comment 3 Joseph Wang 2020-08-20 11:24:19 CEST
break in both lxdm and lightdm running on cinnamon session.  

The problem seems to be that lang.sh will override the session language with the language in locale.conf and /etc/sysconfig/i18n
Comment 4 Aurelien Oudelet 2020-08-20 22:39:12 CEST
Seems lightdm the problem?
urpmq -i lightdm
lightdm-1.26.0-11.mga8.src.rpm

Is it upstream supported to change locale at graphical login?
Do you expect besides lightdm displays his face in English for example and you select whatever locale (French) to have right after login French UI language (for example) on your DE?

Assigning to registered Maintainer.

Assignee: bugsquad => jani.valimaa
Source RPM: accountsservice-0.6.55-2.mga8.src.rpm => lightdm-1.26.0-11.mga8.src.rpm