Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21946 - [gdm] No login window ready sounds with libcanberra-pulse

Attached to Project: Arch Linux
Opened by David Spicer (azleifel) - Tuesday, 30 November 2010, 23:08 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 01 December 2010, 21:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The libcanberra-ready-sound does not play at the gdm login window when pulseaudio and libcanberra-pulse are installed. The system log will contain errors like:

Nov 29 18:49:11 localhost pulseaudio[4039]: core-util.c: Home directory /var/lib/gdm not ours.
Nov 29 18:49:11 localhost pulseaudio[4039]: lock-autospawn.c: Cannot access autospawn lock.
Nov 29 18:49:11 localhost pulseaudio[4039]: main.c: Failed to acquire autospawn loc

Fix that worked here was to change the ownership of /var/lib/gdm from root:gdm to gdm:gdm.

Additional info:
* gdm 2.32.0-1
* libcanberra 0.26-3
* libcanberra-pulse 0.26-3
This task depends upon

Closed by  Ionut Biru (wonder)
Wednesday, 01 December 2010, 21:50 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Tuesday, 30 November 2010, 23:18 GMT
i'm just curious, how did you enabled sounds and what sound theme do you have installed?

sound-theme-freedesktop doesn't have a system ready sound or a login one
Comment by David Spicer (azleifel) - Wednesday, 01 December 2010, 20:47 GMT
I use a custom sound-theme-freedesktop package (PKGBUILD at http://pastebin.com/P7yEYctD) which includes the "system-ready" sound that will be played by /usr/share/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop.

Edit: And I configured sound in gdm by running gconf-editor as the gdm user. I have apps -> gdm -> simple-greeter -> settings-manager-plugins -> sound set active and I also have desktop -> gnome -> sound -> event sounds and input-feedback-sounds enabled and theme-name set to "freedesktop".
Comment by Mitchell Richters (mjr4077au) - Wednesday, 01 December 2010, 21:12 GMT
Unless you're starting PA as a system daemon, I believe PA does not start until you log into the desktop. This is so PA starts as yourself for security purposes.
Comment by David Spicer (azleifel) - Wednesday, 01 December 2010, 21:42 GMT
The pulseaudio package installs /etc/X11/xinit/xinitrc.d/pulseaudio which will be run by gdm when it starts. The pulseaudio xinitrc.d script runs start-pulseaudio-X11 if the DE is not gnome, kde or xfce4 (I use openbox). Of course, the pulseaudio xinitrc.d script won't be run by startx via xinitrc because it lacks the .sh extension.

Loading...