Add XDG_BASEDIR envs and DM specific envs to whitelist.