Menu

#772 [lxdm] Add support for PulseAudio

None
closed-fixed
dgod.osa
lxdm (80)
5
2015-08-02
2015-07-31
No

PulseAudio server credentials are stored as properties on the X11 root window. Since LXDM does not restart X after logout by default, these properties must be cleared manually on logout, otherwise PulseAudio will not work on second login.

The 'pax11publish -r' command can be used to remove PulseAudio configuration from the X11 root window. Adding the following line to /etc/lxdm/PostLogout solves the problem:
test -x /usr/bin/pax11publish && /usr/bin/pax11publish -r

Discussion

  • dgod.osa

    dgod.osa - 2015-08-01

    when session exit, pulseaudio server will be killed, the Cookie stored is use less and not privacy related, and next login will override them.

     
  • Balló György

    Balló György - 2015-08-01

    This is the problem: the next login does not override the previous configuration unless you clear it manually from the X11 root window.

     
  • dgod.osa

    dgod.osa - 2015-08-01

    I think it's responsibility of pulseaudio, it should clean when session exit.

    I have a git commit workaround this now.

     
  • Balló György

    Balló György - 2015-08-01

    It fixes the problem. Thanks!

     
  • dgod.osa

    dgod.osa - 2015-08-02
    • status: open --> closed-fixed
    • Group: -->
     

Log in to post a comment.