Comment 0 for bug 805337

Revision history for this message
Wladimir Mutel (mwg) wrote : xdm does not set 'audio' group membership through pam_ck_connector (Natty)

On one my Ubuntu Natty system, I have a very simple X11 GUI setup : just plain xdm and icewm (and no PulseAudio)

After one reboot, I noticed that audio devices are inaccessible in GUI session.
I looked into PAM configs and found that /etc/pam.d/xdm includes pam.d/common-session which contains this line :

session optional pam_ck_connector.so nox11

common-session config file was modified on Jun 02nd, and I checked in dpkg logs that on this day, libpam* packages were upgraded from 1.1.2-2ubuntu8 to 1.1.2-2ubuntu8.3 . Actually, this 'nox11' option could be brought in on upgrade from Maverick to Natty , I am not sure when, because the system was not rebooted at that time and continued to run with Maverick kernel & xdm long after that.

Somewhere in Gentoo forums I read that you have to remove 'nox11' from xdm PAM config. So I juts had to add the line after include statement :

@include common-session
session optional pam_ck_connector.so

after doing that and restarting xdm, I have audio access in my X11 sessions back again.

probably this specific has to be reflected in xdm PAM configuration included in its package, and not require additional manual configuration by the end-user.