Environment passed to /etc/gdm/PostLogin/Default script does not contain useful information

Bug #506972 reported by Manuel Iglesias Alonso
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Fix Released
gdm (Ubuntu)
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gdm

Bug described in:
Patch supplied by gdm developers (See bugzilla.gnome bug above).
Request Ubuntu applies patch to relevant distributions (I.E.: Ubuntu.10 Karmic)
Please read following comment. https://bugzilla.gnome.org/show_bug.cgi?id=602403#c8

Thanks in advance,
Best regards,

Changed in gdm (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Triaged
Revision history for this message
edu jose (pepinmore) wrote :

Hi, this bug affects me too in Karmic (and 18 PCs in our school's computer lab, which I upgraded from Ubuntu 9.04 to 9.10). Fix for Lucid is in bug #463376, but is not backported to Karmic.

Oh, the bug is about GDM's /etc/gdm/PostLogin/Default script where you no longer get the user name that's login in through any of $USER, $USERNAME or $LOGNAME (they all now contain "gdm"). It worked before Karmic, but not with new GDM 2.28.x.

Bug https://bugs.launchpad.net/gdm/+bug/463376 seems to have resolved the issue for Lucid, but the fix is still not in Karmic.

Please could you backport the fix in bug 463376 from Lucid to Karmic? This way us poor school sysadmins could stop pulling out our hair because of this :-)

Many people rely on these vars set properly to perform tasks like "cleaning" the student's home directory at login and setting predefined defaults for the desktop.

Revision history for this message
edu jose (pepinmore) wrote :

Hi Manuel, the fix for Lucid has been nicely backported to Karmic by Artur Rona.

If you want to test the fix in Karmic, please follow the instructions in comment #8 of bug #574262.

The fix works for me on two different machines (one upgraded from Jaunty to Karmic, the other with a fresh Karmic install).

Revision history for this message
Manuel Iglesias Alonso (glesialo) wrote :

Hello Eduardo,
Thank you for reminding me :-)

I have already installed Lucid.

Best regards,

Changed in gdm:
importance: Unknown → High
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.