pam_xdg
- Reply: Adrian Chadd : "Re: pam_xdg"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Dec 2025 10:35:35 UTC
Hi, Through the years I've been using 'startx & sleep 5; exit', as I didn't want or need to keep the virtual terminal opened. This seems broken since pam_xdg's inclusion in FreeBSD-15 because it sets XDG_RUNTIME_DIR in the environment and creates the user's directory in /var/run/xdg. When you log out -as I do- pam_xdg deletes the user's directory and programs that I run later in my X session and use XDG, fail because the directory isn't there. My current thinking is removing pam_xdg from pam configuration. I am not sure whether I am missing something (or logging out of the virtual terminal is really weird and I should stop doing it). Thoughts? Nikos