Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2022 12:01:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266532] x11/lightdm: Login sessions do not respect login.conf
Message-ID:  <bug-266532-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266532

            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)
                CC:
          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:
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/653809c387c0a4e4d96f7999db3106d89=
970d4c7/src/session-child.c#L540

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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266532-7788>