← Back to team overview

desktop-packages team mailing list archive

[Bug 586503] Re: /etc/gdm/PostLogin/Default file not run if automatic login is enabled

 

** Bug watch removed: GNOME Bug Tracker #614488
   https://bugzilla.gnome.org/show_bug.cgi?id=614488

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/586503

Title:
  /etc/gdm/PostLogin/Default file not run if automatic login is enabled

Status in gdm:
  New
Status in gdm package in Ubuntu:
  Triaged
Status in gdm source package in Lucid:
  Won't Fix

Bug description:
  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:

To manage notifications about this bug go to:
https://bugs.launchpad.net/gdm/+bug/586503/+subscriptions