I've tested the new gnome-session patch attached to the upstream bug but so far it hasn't produced sound, and it seems to lose the Ubuntu enhanced log-out dialog.
However, with standard Gutsy gnome-session 2.19.92 the sound *is* played if Accessible Login sound is set:
1. System > Preferences > Universal Access > Assistive Technology Preferences
2. Press "Accessible Login" button
3. Choose "Accessibility" (4th) tab
4. Change "Login successful" sound from '(None)' to 'startup3.wav'
On a side-note - enabling "Enable accessible login" here causes gdm to fail because the greeter fails to start.
If this happens, from a virtual TTY do 'sudo nano /etc/gdm/gdm.conf-custom' and in the "[daemon]" section comment out with a "#" "GtkModulesList" and "AddGtkModules".
I've tested the new gnome-session patch attached to the upstream bug but so far it hasn't produced sound, and it seems to lose the Ubuntu enhanced log-out dialog.
However, with standard Gutsy gnome-session 2.19.92 the sound *is* played if Accessible Login sound is set:
1. System > Preferences > Universal Access > Assistive Technology Preferences
2. Press "Accessible Login" button
3. Choose "Accessibility" (4th) tab
4. Change "Login successful" sound from '(None)' to 'startup3.wav'
On a side-note - enabling "Enable accessible login" here causes gdm to fail because the greeter fails to start.
If this happens, from a virtual TTY do 'sudo nano /etc/gdm/ gdm.conf- custom' and in the "[daemon]" section comment out with a "#" "GtkModulesList" and "AddGtkModules".