https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266532

            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: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
                CC:
          Assignee: [email protected]

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:
https://github.com/freedesktop/xorg-xdm/blob/master/xdm/session.c#L669

into session-child.c around line 540:
https://github.com/canonical/lightdm/blob/653809c387c0a4e4d96f7999db3106d89970d4c7/src/session-child.c#L540

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

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

Reply via email to