summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemon/gdm-launch-environment.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/daemon/gdm-launch-environment.c b/daemon/gdm-launch-environment.c
index 6ceb47bc..10e9c323 100644
--- a/daemon/gdm-launch-environment.c
+++ b/daemon/gdm-launch-environment.c
@@ -774,6 +774,10 @@ gdm_launch_environment_start (GdmLaunchEnvironment *launch_environment)
goto out;
}
+ /* Create the home directory too */
+ if (!ensure_directory_with_uid_gid (passwd_entry->pw_dir, uid, gid, error))
+ goto out;
+
if (!start_dbus_daemon (launch_environment, uid, gid, error)) {
goto out;
}