[Bug 753707] Re: gdm autologin does not work in Natty if private ecryptfs directory used
This bug was fixed in the package gdm - 3.0.4-0ubuntu1 --- gdm (3.0.4-0ubuntu1) oneiric; urgency=low [ Sebastien Bacher ] * New upstream version 3.0.0 * Start cleaning for the GNOME3 update * debian/patches/00git_passwordless_login_crash.patch, debian/patches/17_use_timed_login_after_autologin.patch, debian/patches/19_no_greeter_for_autologin.patch, debian/patches/37_disable_resize_grip.patch, debian/patches/38_user_chooser_focus.patch, debian/patches/43_translate_cancel_button.patch: - those are fixed is in the new version * debian/patches/08_use_polkit_for_settings.patch, debian/patches/09_gdmsetup.patch: - drop gdmsetup, the options should be integrated in gnome-control-center (the autologin one is in the user account configuration for example) * debian/patches/09_gdmserver_gconf_settings.patch: - the gconf hack to turn on and off login sounds, that should be rewritten use gsettings if wanted, lightdm should also make that easier * debian/patches/10_xsplash.patch: - xsplash was a one cycle hack and has been deprecated since * debian/patches/24_respect_system_minuid.patch: - deprecated with the accountsservice use * debian/patches/25_update_gconf_directories.patch: - the new version use gsettings and that was useful for the gdmsetup configuration only * debian/patches/34_disable_a11y_default.patch: - the change was not appropriate for a sru but is fine early during the cycle * debian/%gconf-tree.xml: - tweaks to the default layout, those will need to be revisited with the new ui and gsettings if needed (no needed if lightdm is the default?) * Resynchronize some of the files on Debian to lower the difference [ Gunnar Hjalmarsson ] * debian/patches/36_language_environment_settings.patch: Set LC_CTYPE and LC_COLLATE to the same locale name as LC_MESSAGES (LP: #786986). * Patches adapted to gdm-3.0.0: - 15_default_session.patch - 30_don_t_save_failsafe_session.patch - 32-hide-mouse-cursor.patch - 45_time_display_on_greeter.patch - 90_register-bin-true-as-URI-scheme-handler-for-several-schemes.patch * debian/patches/45_time_display_on_greeter.patch: Display time on the greeter in a proper format also when /etc/default/locale assigns different locales to LANG respective LC_MESSAGES (LP: #777264). * debian/gdm.upstart: Export LC_MESSAGES so the weekday gets displayed in the system language on the greeter. * debian/patches/41_pt_time_format.patch: Patch deleted (superseded by 45_time_display_on_greeter.patch). [ Robert Ancell ] * debian/patches/42_no_ecryptfs_autologin.patch: - Only stop autologin if full home directory encryption is used (LP: #753707) [ Martin Pitt ] * New upstream version 3.0.4. * debian/control.in: Require accountsservice 0.6.12. * Drop 90_register-bin-true-as-URI-scheme-handler-for-several-schemes.patch: Fixed upstream in a different way. * debian/gdm.install: install the dummy desktop handler and the mimeapps.list to /usr/share/gdm/applications. * debian/rules: Drop installation of bonobo .server for FUSA, this is all obsolete. * debian/rules: Drop installation of debian/%gconf-tree.xml, which was removed above. * Drop 35_langlist_and_lsmess_dmrc_fields.patch: This now needs to be reimplemented in accountsservice. * 42_no_ecryptfs_autologin.patch: Update to gdm 3.0. * Synchronize patches with Debian: - Drop 04_fix_external_program_directories.patch, replace with 07_libexec-paths.patch. - Add 93_xdg_data_dirs.patch. - Add 01_language.patch. - Drop 02_x_server_location.patch, replace with 16_xserver_path.patch. Set $X_PATH and friends in debian/rules. - Rename 05_initial_server_on_vt7.patch to 06_first_vt.patch. They have the same purpose, but ours is two magnitudes simpler. - Add 08_frequent-users_greeter.patch. - Rename 06_run_xsession.d.patch to ubuntu_run_xsession.d.patch; we don't use Debian's Xsession script, but upstream's. - Rename 11_crash_for_apport.patch to ubuntu_dont_catch_sigsegv.patch. - Rename 14_guest_session.patch to ubuntu_guest_session.patch. - Rename 20_upstart.patch to ubuntu_upstart_event.patch. - Rename 26_no_debug.patch to ubuntu_no_debug.patch. - Rename 39_grep_path.patch to 29_grep_path.patch just as Debian did. * Merge 27_save_root_window.patch and 28_plymouth_transition.patch into ubuntu_plymouth.patch, to correspond better with its origin at http://pkgs.fedoraproject.org/gitweb/?p=gdm.git;a=blob;f=plymouth.patch;hb=HEAD * Drop 16_gdmserver_user_manager.patch, this info is now provided by accountsservice. * Drop 32-hide-mouse-cursor.patch. It never really looked that much better, and is unimportant now that gdm isn't even the default DM any more. * Drop 40_one_lang_option_per_translation.patch: gdm does not show a language
[Bug 753707] Re: gdm autologin does not work in Natty if private ecryptfs directory used
Steps please. The steps I used were: 1. Make a user 'test1' (using GNOME system tools) 2. Make a user 'test2' with fully encrypted home dir 3. Make a user 'test3', log in an add a Private encrypted directory 4. Set GDM to autologin as 'test1' and reboot OBSERVED: Go straight to the desktop of user 'test1' EXPECTED: ^^^ 5. Set GDM to autologin as 'test2' and reboot OBSERVED: Go to greeter EXPECTED: ^^^ 6. Set GDM to autologin as 'test3' and reboot OBSERVED: Go straight to the desktop of user 'test3', Private directory needs to be activated to access. EXPECTED: ^^^ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if private ecryptfs directory used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/753707/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if private ecryptfs directory used
Hm, that is strange. I think I did the same. That is on updated oineric? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if private ecryptfs directory used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/753707/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if private ecryptfs directory used
Robert: GDM in Natty is 2.32.1-0ubuntu3.2, GDM in Oneiric is 2.32.1-0ubuntu3.2. Can you reproduce the bug still? What do you mean by a test case, a step by step uinstructions to reproduce the bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if private ecryptfs directory used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/753707/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if private ecryptfs directory used
TomasHnyk, Can you confirm what version of GDM you are running and provide a test case? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if private ecryptfs directory used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/753707/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if private ecryptfs directory used
Robert: I just tried Alpha one and the problem still persist there? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if private ecryptfs directory used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if private ecryptfs directory used
BTW: it seems autologin with encryptfs can also lead to gnome unlocking screen hanging for a long time as per bug 515155 ) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if private ecryptfs directory used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if private ecryptfs directory used
Don't worry checking, I've updated the patch for Oneiric to check if both ~/.ecryptfs/auto-mount exists and ~/.ecryptfs/Private.mnt is set to the home directory. That appears to be the method to check if the home directory is fully encrypted. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if private ecryptfs directory used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if private ecryptfs directory used
I have this file: $ ll .ecryptfs/ total 12 -rw-r--r-- 1 cyril cyril 0 2011-02-25 23:52 auto-mount -rw-r--r-- 1 cyril cyril 0 2011-02-25 23:52 auto-umount -rw--- 1 cyril cyril 20 2011-02-25 23:52 Private.mnt -rw--- 1 cyril cyril 34 2011-02-25 23:52 Private.sig -r 1 cyril cyril 48 2011-02-25 23:52 wrapped-passphrase -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if private ecryptfs directory used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if private ecryptfs directory used
Robert: thanks, that sounds great! Any chances for it to be an SRU for natty? And by the way, is this code shared with Ubiquity? I remember that when I installed and choose to mount my home partition with .encryptfs, I was not able to select autologin (it got greyd out). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if private ecryptfs directory used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if private ecryptfs directory used
I opened bug 786985 for ubiquity, I tried it in VM and it seems to have the same problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if private ecryptfs directory used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if ecryptfs is used
I checked the current behaviour and it checks ~/.ecryptfs/auto-mount. Can you check if you have this file? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if ecryptfs is used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if ecryptfs is used
** Changed in: gdm (Ubuntu) Status: Incomplete = Triaged ** Summary changed: - gdm autologin does not work in Natty if ecryptfs is used + gdm autologin does not work in Natty if private ecryptfs directory used -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if private ecryptfs directory used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if private ecryptfs directory used
** Branch linked: lp:~ubuntu-desktop/gdm/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if private ecryptfs directory used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if ecryptfs is used
Hi Tomas, Yes, autologin cannot work if you use ecryptfs. This is because the password must be entered to decrypt the filesystem, and autologin does not prompt for a password. Is the bug here simply that you have a ~/.ecryptfs but are not using ecryptfs? If so, the solution is to make the check more intelligent. Does anyone know what exactly we need to check for to see if ecryptfs is in use? ** Changed in: gdm (Ubuntu) Assignee: (unassigned) = Robert Ancell (robert-ancell) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if ecryptfs is used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if ecryptfs is used
Hi Roert, I know it cannot work if you encrypt your whole $HOME directory, but there is no reason it should not work if you have only one encrypted directory (Private it is called, I am not sure now whether it is the default or my name) in your otherwise unencrypted directory. It worked in Maverick after all. So I think the bug is that assumption that .encryptfs means encrypted $HOME directory is invalid. Therefore, the check should be more intelligent, but I have no idea how to do that:-). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if ecryptfs is used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty
I think I nailed it down. I have a ecryptfs directory from previous install (I installed natty from a USB stick but preserved my home directory). If I move $HOME/.ecryptfs somewhere else (i.e. mv .ecryptfs Desktop), autologin starts to work. Of course, it is then no longer possible to unlock the Private directory. Can anyone confirm this or am I experiencing different bug than others? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty
Following the suggestion in #9 I temporarily moved the .ecryptfs directory. And auto login did indeed start to work. Moving the directory back caused auto login to stop working again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty if ecryptfs is used
I upgraded the description of the bug accordingly. I think bug 284443 may be the cause if I understand that bug correctly, waiting for reaction from the developer. ** Summary changed: - gdm autologin does not work in Natty + gdm autologin does not work in Natty if ecryptfs is used ** Description changed: Binary package hint: gdm Autologin does not work after upgrade to natty. Login-screen settings (as shown in GUI) are correct. + + It seems that it does not work if there is a .ecryptfs directory present + in the $HOME directory of the user to be autologged in. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: gdm 2.32.0-0ubuntu15 ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 Architecture: amd64 Date: Thu Apr 7 17:37:50 2011 EcryptfsInUse: Yes InstallationMedia: Ubuntu 10.10 Maverick Meerkat - Release amd64 (20101007) ProcEnviron: LANGUAGE=en_GB:en PATH=(custom, user) LANG=en_GB.utf8 SHELL=/bin/bash SourcePackage: gdm UpgradeStatus: Upgraded to natty on 2011-04-03 (4 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty if ecryptfs is used -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty
Here are also my GDM logs as I'm also affected by this bug. Below is also an extract from /etc/gdm/custom.conf [daemon] TimedLoginEnable=false AutomaticLoginEnable=true TimedLogin=cyril AutomaticLogin=cyril TimedLoginDelay=30 DefaultSession=gnome ** Attachment added: GDM logs https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/753707/+attachment/2031204/+files/gdm-logs.tar.bz2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty
** Attachment added: gdm logs https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/753707/+attachment/1998447/+files/gdmlogs.tgz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions: * Is this reproducible? * If so, what specific steps should we take to recreate this bug? This will help us to find and resolve the problem. ** Changed in: gdm (Ubuntu) Importance: Undecided = Low ** Changed in: gdm (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty
what is your user uid? do you use a protected user dir or a non local one? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty
Reproducible: always How: reboot/start the system. The login screen comes despite the fact the autologin has been activated. # grep ortyl /etc/passwd ortyl:x:1000:1000:,,,:/home/ortyl:/bin/bash # ls -l /home total 12 drwxr-xr-x 103 ortyl ortyl 12288 2011-04-07 19:39 ortyl -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty
** Attachment added: Login Screen settings https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/753707/+attachment/1995845/+files/Screenshot.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 753707] Re: gdm autologin does not work in Natty
could you add your /var/log/gdm logs to the bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/753707 Title: gdm autologin does not work in Natty -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs