Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=332781
--- Comment #41 from Daniel Qarras dqarras@yahoo.com 2009-04-15 16:22:55 EDT ---
ck-xinit-session is supposed to be used as a parent process for your entire session.
Ah, ok, finally I got it. If I modify the aforementioned ~/.xinitrc as
# Initialize ConsoleKit session if needed [[ -x /usr/bin/ck-xinit-session ]] && CK_XINIT_SESSION="/usr/bin/ck-xinit-session"
# Add your favorite window manager / desktop environment for wm in gnome-session startkde fvwm do which $wm > /dev/null 2>&1 && exec $CK_XINIT_SESSION $wm done
then I finally have sounds working and also a Shut Down button in the System menu!
/etc/X11/xinit/xinitrc is supposed to do that already. Not sure why that is not working for you.
With ~/.xinitrc it is not executed at all. And also, without ~/.xinitrc the test -a -z "$XDG_SESSION_COOKIE" at the bottom of /etc/X11/xinit/xinitrc-common fails and thus CK_XINIT_SESSION is empty. By removing the test for XDG_SESSION_COOKIE sound would work also without ~/.xinitrc.
Thanks.