canonical / lightdm

Display Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lightdm does not respect login.conf on FreeBSD

DanielO opened this issue · comments

Hi,
I have ~/.login_conf to set some variables (eg language) which works via SSH but not lightdm - this is because lightdm does not call setusercontext.

I have a patch which calls it, although it is a bit of a kludge because setusercontext has no option to write into a PAM context.

https://gist.github.com/DanielO/178a3131cc1ae646e703d59e5d9c712d

Note that this patch is on top of the FreeBSD port patch, hence the removal of updwtmpx calls.

Is this something that would be upstreamable, or should I submit it as a FreeBSD port patch?

This is a issue bothering me too. Hope the fix is merged. Thanks!