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.
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.