https://bugs.winehq.org/show_bug.cgi?id=14838
--- Comment #11 from Ken Sharp imwellcushtymelike@gmail.com --- Now, we also have $XDG_RUNTIME_DIR. I don't know if this would be of any use to Wine or not. systemd should make this directory available at log-in.
https://www.freedesktop.org/software/systemd/man/pam_systemd.html https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
"The server dir needs to be unique for a given prefix, so it cannot depend on environment variables."
Is this true anymore? Each server creates its own private directory in /tmp so it should be able to do that anywhere.