[X2Go-Commits] [x2goclient] 02/05: src/onmainwindow.cpp: stop PulseAudio from spamming logs after a client disconnects. Fixes: #1425.
git-admin at x2go.org
git-admin at x2go.org
Wed Jan 29 06:45:09 CET 2020
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goclient.
commit e22827f7afff3d85853b2d61961f773424d5e022
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Jan 25 18:15:05 2020 +0100
src/onmainwindow.cpp: stop PulseAudio from spamming logs after a client disconnects. Fixes: #1425.
Patch based on one submitted by Ville Salmela.
---
debian/changelog | 3 +++
src/onmainwindow.cpp | 8 ++++++++
2 files changed, 11 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 78fa666..577285a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -151,6 +151,9 @@ x2goclient (4.1.2.2-0x2go1) UNRELEASED; urgency=medium
- Windows: Update PuTTY from 0.71 to 0.73. Fixes another round of issues
discovered through the EU-funded bug bounty programme and other security
problems.
+ - src/onmainwindow.cpp: stop PulseAudio from spamming logs after a client
+ disconnects. Fixes: #1425. Patch based on one submitted by Ville
+ Salmela.
* debian/control:
+ Add build-depend on pkg-config.
* x2goclient.spec:
diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp
index 3263221..f640766 100644
--- a/src/onmainwindow.cpp
+++ b/src/onmainwindow.cpp
@@ -5721,6 +5721,10 @@ void ONMainWindow::slotRetResumeSess ( bool result,
"/.pulse-cookie"+
"\" >> \"${HOME}/.x2go/C-"+
resumingSession.sessionId+
+ "/.pulse-client.conf\""
+ ";echo \"autospawn=no\" >>"
+ "\"${HOME}/.x2go/C-" +
+ resumingSession.sessionId +
"/.pulse-client.conf\"";
else
scmd="echo \"default-server=localhost:"+
@@ -5733,6 +5737,10 @@ void ONMainWindow::slotRetResumeSess ( bool result,
"/.pulse-cookie"+
"\" >> \"${HOME}/.x2go/C-"+
resumingSession.sessionId+
+ "/.pulse-client.conf\""
+ ";echo \"autospawn=no\" >>"
+ "\"${HOME}/.x2go/C-" +
+ resumingSession.sessionId +
"/.pulse-client.conf\"";
sshConnection->executeCommand (scmd);
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list