Bugzilla Automation <[email protected]> has asked freebsd-desktop (Team) <[email protected]> for maintainer-feedback: Bug 266532: x11/lightdm: Login sessions do not respect login.conf https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266532
--- Description --- 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/653809c387c0a4e4d96f7999db3106d89970d 4c7/src/session-child.c#L540 I plan on trying it soon but would appreciate some feedback since it's security related.
