diff options
author | Michael Terry <michael.terry@canonical.com> | 2014-02-18 17:07:03 -0500 |
---|---|---|
committer | Michael Terry <michael.terry@canonical.com> | 2014-02-18 17:07:03 -0500 |
commit | 4017f1cae435ef889e756146b332754d8a376474 (patch) | |
tree | 4f3ca3b1144b9581ae5b7d781eba612f44537354 /src | |
parent | 065745fe5e93d975affbf31b6bd59cb613746a7a (diff) | |
download | lightdm-4017f1cae435ef889e756146b332754d8a376474.tar.gz |
Fix autologin use case and add a test for it
Diffstat (limited to 'src')
-rw-r--r-- | src/seat.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1520,8 +1520,13 @@ seat_real_start (Seat *seat) session = create_user_session (seat, autologin_username, TRUE); if (session) + { session_set_pam_service (session, AUTOLOGIN_SERVICE); + /* Make sure shared user directory for this user exists */ + shared_data_manager_ensure_user_dir (shared_data_manager_get_instance (), session_get_username (session)); + } + /* Load in background if required */ if (autologin_in_background && session) { |