Preserving previously set XDG variables doesn't work when changing users (su/ksu).