# Qui fixe XDG\_RUNTIME\_DIR ?

**URL:** <https://www.debian-fr.org/t/qui-fixe-xdg-runtime-dir/66958>\
**Category:** Programmation\
**Created:** [Février 21, 2016, 9:55 UTC](https://www.debian-fr.org/t/qui-fixe-xdg-runtime-dir/66958 "2016-02-21T21:55:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcsm33](https://www.debian-fr.org/user_avatar/www.debian-fr.org/jcsm33/32/3832_2.png) [@jcsm33](https://www.debian-fr.org/u/jcsm33)\
**Post date:** [Février 21, 2016, 9:55 UTC](https://www.debian-fr.org/t/qui-fixe-xdg-runtime-dir/66958/1 "2016-02-21T21:55:08Z")

</div>

Salut 🙂

Les variables d’environnement sont fixées arbitrairement mais dans un but précis.

Comme leur nom l’indique, on peut les faire varier. Et pourtant…

Au moment d’intégrer gdm3 (3.12 et plus) dans debian, les mainteneurs ont fait un choix décisif :

> [@](#):
>
> - debian/control.in: Depend on libpam-systemd on linux architectures as we  
> need XDG\_RUNTIME\_DIR set to work.

réf : [/ sources / gdm3 / 3.14.2-2 / debian / changelog](http://sources.debian.net/src/gdm3/3.14.2-2/debian/changelog/?hl=251#L250-L251)

Ce choix est le choix de la facilité pour ne pas avoir à gérer le cas où, par hasard, on ne voudrait pas de systemd.

Avis à ceux qui voudraient donc un gdm3 fonctionnel sans systemd : inventer une nouvelle valeur pour XDG\_RUNTIME\_DIR. Après tout, elle ne s’appelle pas SYSTEMD\_RUNTIME\_DIR.

---

<div class="post-metadata">

**Author:** ![jcsm33](https://www.debian-fr.org/user_avatar/www.debian-fr.org/jcsm33/32/3832_2.png) [@jcsm33](https://www.debian-fr.org/u/jcsm33)\
**Post date:** [Septembre 25, 2020, 5:57 UTC](https://www.debian-fr.org/t/qui-fixe-xdg-runtime-dir/66958/2 "2020-09-25T17:57:22Z")

</div>

le lien étant cassé et l’édition apparemment désactivée

réf : [/src/gdm3/3.14.1-7/debian/changelog](https://sources.debian.org/src/gdm3/3.14.1-7/debian/changelog/?hl=225#L215)
