Bug 27132 - session locales through display managers are not working
Summary: session locales through display managers are not working
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Jani Välimaa
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2020-08-19 05:04 CEST by Joseph Wang
Modified: 2020-08-20 22:39 CEST (History)
1 user (show)

See Also:
Source RPM: lightdm-1.26.0-11.mga8.src.rpm
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.