Minor fix to avoid runtime directory not being created.
Submitted by Brian Cameron
Link to original bug (#630485)
Description
Created attachment 170999 patch fixing issue.
Since GDM allows the screenshot directory (GDM_SCREENSHOT_DIR) to be configured via --with-screenshot-dir, it isn't necessarily in the same directory as the GDM_XAUTH_DIR (/var/run/gdm). So, GDM can fail if the specified directory is in a subdirectory that doesn't exist. This minor patch fixes this issue. It's a trivial fix and makes GDM a bit more robust, so I'm hoping this can go upstream.
Patch 170999, "patch fixing issue.":
gdm-22-runtime-dir.diff
Version: 2.31.x