• pam_xdg

    From Nikos Vassiliadis@nvass@gmx.com to muc.lists.freebsd.stable on Wed Dec 10 12:35:35 2025
    From Newsgroup: muc.lists.freebsd.stable

    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



    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Adrian Chadd@adrian@freebsd.org to muc.lists.freebsd.stable on Wed Dec 17 16:21:26 2025
    From Newsgroup: muc.lists.freebsd.stable

    On Wed, 10 Dec 2025 at 02:36, Nikos Vassiliadis <nvass@gmx.com> 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


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2