On Wed, 10 Dec 2025 at 02:36, Nikos Vassiliadis <[email protected]> wrote: > > 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).
Yes don't do that, please just startx and leave it alone. Modern X environments need a bunch of XDG_ stuff set and available. -adrian
