[Bug 266532] x11/lightdm: Login sessions do not respect login.conf

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 Sep 2022 12:01:04 UTC

            Bug ID: 266532
           Summary: x11/lightdm: Login sessions do not respect login.conf
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: darius@dons.net.au
             Flags: maintainer-feedback?(desktop@FreeBSD.org)
          Assignee: desktop@FreeBSD.org

I have created a ~/.login.conf to set LANG but when I login via lightdm it has
no effect (works on SSH though).

I think this could be fixed by patching lightdm to add a call to
setusercontext(), ie graft the code from xdm:

into session-child.c around line 540:

I plan on trying it soon but would appreciate some feedback since it's security

You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.