I also have this problem on my laptop running Karmic with all updates available as of November 16th.
If I put those 3 lines in /etc/gdm/PostLogin/Default: echo $USER > /tmp/aaa.txt echo $USERNAME >> /tmp/aaa.txt echo $LOGNAME >> /tmp/aaa.txt after every login I get this result: $ cat /tmp/aaa.txt gdm gdm gdm I would expect to get my real login name in those 3 variables instead of "gdm", which is of no use to take specific action based on which user is logging in. This was working as expected with at least the 3 previous versions of Ubuntu. -- can't catch $USER in /etc/gdm/PostLogin/Default https://bugs.launchpad.net/bugs/463376 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs