Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound disappears on KDE 5 logout/relogin #914

Closed
akontsevich opened this issue Oct 16, 2017 · 5 comments
Closed

Sound disappears on KDE 5 logout/relogin #914

akontsevich opened this issue Oct 16, 2017 · 5 comments

Comments

@akontsevich
Copy link

akontsevich commented Oct 16, 2017

Sound disappears on logout/relogin. Problem is in pulseaudio process which remains from previous login session. Killing it solves the problem - new instance start automatically then and sound plays again. In KDE bugzilla they said it is a SDDM problem: https://bugs.kde.org/show_bug.cgi?id=385829#c1

Citation:

Then that's not a plasmashell problem. Whether SDDM should clear up stray processes, is up for debate (on the SDDM tracker), but there's some complexities there.

@rdieter
Copy link

rdieter commented Jan 19, 2018

I'd argue this isn't sddm's job either. pulseaudio's default timeout before exiting is 30 seconds, either wait that long before logging in again, or reduce it to satisfy your needs, /etc/pulse/daemon.conf:
exit-idle-time = 5
for example.

@plfiorini
Copy link
Member

A desktop environment that starts programs and doesn't terminate their processes at logout has clearily a bug that shouldn't be attributed to a login manager.

@akontsevich
Copy link
Author

akontsevich commented Jan 19, 2018

A desktop environment that starts programs and doesn't terminate their processes at logout has clearily a bug that shouldn't be attributed to a login manager.

Why KDE team says it is a SDDM bug?! Could you discuss with them please?

@plfiorini
Copy link
Member

This doesn't happen with Liri for example, there the session manager launches autostart programs (including /etc/xdg/autostart/pulseaudio.desktop) and SIGTERM and SIGKILL if needed are sent to the process upon logout.

@davidedmundson Plasma should just keep track of the processes it starts and kills them on logout. Is it possible?

@rdieter
Copy link

rdieter commented Jan 20, 2018

logind supports (something like) that too (logind.conf : KillUserProcesses=yes )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants