apport information ** Tags added: apport-collected
** Description changed: Binary package hint: gdm In Ubuntu 10.04 with gdm 2.30.0, the file /etc/gdm/PostLogin/Default is not run if automatic login is enabled. This was tested on 2 very different configurations: - 2 desktops which were recently upgraded from Jaunty to Karmic then to Lucid; - 1 laptop with a fresh install of Lucid. Steps to reproduce the bug: 1. Create a simple /etc/gdm/PostLogin/Default file, for example with this content: #!/bin/sh echo "Test" > /tmp/aaa 2. Logout from your session and log in again. Check for the existence of a /tmp/aaa file. It will exist. 3. Delete the /tmp/aaa file. Enable automatic login to any existing account and reboot. Check for the existence of a /tmp/aaa file. This time it will NOT exist. 4. Disable the automatic login and reboot, then login into the same account as before. Check for the existence of a /tmp/aaa file. Now it will exist again. My conclusion is that the file /etc/gdm/PostLogin/Default is run during a manual login but ignored during an automatic login. I would expect the file to be run in both cases, as this happened for example with Jaunty. One more detail: I did a similar test with /etc/gdm/PreSession/Default and found it is NOT affected by this bug. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: gdm 2.30.0-0ubuntu5 ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2 Uname: Linux 2.6.32-22-generic i686 NonfreeKernelModules: nvidia Architecture: i386 Date: Thu May 27 21:04:56 2010 InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429) ProcEnviron: LANG=fr_CH.utf8 SHELL=/bin/bash SourcePackage: gdm + --- + Architecture: i386 + DistroRelease: Ubuntu 10.04 + InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429) + NonfreeKernelModules: nvidia + Package: gdm 2.30.2.is.2.30.0-0ubuntu1 + PackageArchitecture: i386 + ProcEnviron: + LANGUAGE=fr_CH:fr:en + PATH=(custom, no user) + LANG=fr_CH.utf8 + SHELL=/bin/bash + ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2 + Tags: lucid + Uname: Linux 2.6.32-22-generic i686 + UserGroups: ** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/50228065/Dependencies.txt -- /etc/gdm/PostLogin/Default file not run if automatic login is enabled https://bugs.launchpad.net/bugs/586503 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gdm in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs