https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266532
--- Comment #46 from Ivan Rozhuk <[email protected]> --- (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=false) and I do not like have crap in var (user-authority-in-system-dir=true). ConsoleKit2 will create /var/run/user/$UID dir and promote it as XDG_RUNTIME_DIR in any way. user-authority-in-system-dir=true 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/lightdm.c > telling lightdm to actually read that variable from the configuration file. 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? -- You are receiving this mail because: You are the assignee for the bug.
