Summary: | Per-user pulseaudio dbus module fails on 2nd user login | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | rickfharris |
Component: | modules | Assignee: | pulseaudio-bugs |
Status: | RESOLVED MOVED | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | lennart |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
rickfharris
2016-05-18 04:58:38 UTC
Does the problem occur also if you wait for more than 20 seconds after logging out? I don't think we shut down immediately after logging out, which is a problem if dbus-daemon shuts down immediately, but we shouldn't stay around indefinitely either. 20 seconds is the default time we wait after the last client has disconnected. Synchronizing the starting and stopping of user services seems like something that the session manager should do. Is the pulseaudio pid the same in both sessions, and is the dbus-daemon pid different? Note that if you have multiple simultaneous sessions from the same user, and there's a separate dbus-daemon for each of them, that's not likely to ever work. (Your description doesn't sound like you're trying to have simultaneous sessions, though.) (In reply to Tanu Kaskinen from comment #1) > Does the problem occur also if you wait for more than 20 seconds after > logging out? I don't think we shut down immediately after logging out, which > is a problem if dbus-daemon shuts down immediately, but we shouldn't stay > around indefinitely either. 20 seconds is the default time we wait after the > last client has disconnected. Synchronizing the starting and stopping of > user services seems like something that the session manager should do. No, if I wait >20 seconds before logging in again then pulseaudio appears on dbus with no problem on the 2nd login. > Is the pulseaudio pid the same in both sessions, and is the dbus-daemon pid > different? Both pulseaudio and dbus-daemon pid's are different in each session. > Note that if you have multiple simultaneous sessions from the same user, and > there's a separate dbus-daemon for each of them, that's not likely to ever > work. (Your description doesn't sound like you're trying to have > simultaneous sessions, though.) Right, not trying to have simultaneous session from same user. > Is the pulseaudio pid the same in both sessions, and is the dbus-daemon pid
> different?
Sorry I should clarify.
When the problem occurs (logout/login within 20 seconds), pulseaudio's pid stays the same and the dbus session pid changes.
When logout/login after waiting >20 seconds, both pulseaudio and dbus session pid's change.
Thanks :)
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/121. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.