-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pipewire: prevent starting in root session
If root session is started early and pipewire gets started as part of it, it may connect to the audiovm earlier than the user's instance, effectively stealing the connection. Upstream already has ConditionUser=!root in relevant pulseaudio units, but not in pipewire ones. Add similar condition to pipewire.service unit. Fixes QubesOS/qubes-issues#9619 (cherry picked from commit 7be8161)
- Loading branch information
Showing
4 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
appvm-scripts/lib/systemd/user/pipewire.service.d/30_qubes.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[Unit] | ||
# Avoid pipewire in root's session to not steal user's connection to the audiovm | ||
ConditionUser=!root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters