Date: Fri, 29 Dec 2023 00:02:38 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 266532] x11/lightdm: Login sessions do not respect login.conf Message-ID: <bug-266532-39348-veiGIAs4k0@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-266532-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-266532-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266532 --- Comment #46 from Ivan Rozhuk <rozhuk.im@gmail.com> --- (In reply to Guido Falsi from comment #43) > [1] considering upstream policy for contributions There is too many requirements for free (non sponsored) work in open source. https://github.com/canonical/lightdm/pull/338 > why you want to move the ".Xauthority" file? Because I do not want to have crap in home dir (user-authority-in-system-dir=3Dfalse) and I do not like have crap in var (user-authority-in-system-dir=3Dtrue). ConsoleKit2 will create /var/run/user/$UID dir and promote it as XDG_RUNTIME_DIR in any way. user-authority-in-system-dir=3Dtrue mean that lightdm will create /var/run/= $USER to keep xauthority. I try switch to /var/run/$USER by setting $XDG_RUNTIME_DIR in login.conf and later in .profile but gnupg (pgp-agent) have hard coded places to guess and= not use $XDG_RUNTIME_DIR. It has more ugly code than lightdm to patch it. Also ConsoleKit2 do additional management for this like create/delete and without patching lightdm it will do this job even if I do not use it. > BTW your patch cannot work as is because you also need code in src/lightd= m.c telling lightdm to actually read that variable from the configuration f= ile. It can. Simple hack: depend on state of user-authority-in-system-dir string inside x_authority_filename var will end with ".Xauthority" or with "xauthority". PS: I found that /etc/profile is not handled. Is it missed? --=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-39348-veiGIAs4k0>