From: David Shea <dshea(a)redhat.com>
The system-wide spice guest agent, spice-vdagentd, normally uses
systemd-logind to determine which of the per-session spice-vdagent
instances it should be communicating with. On the non-live media, the X
session isn't registered with systemd-logind, so instead start
spice-vdagentd with -X to disable the systemd-logind integration and
serve instead to a single spice-vdagent.
(cherry picked from commit 96ecdd4e6eafd18fa2af2e374cae59c131301984)
Related: rhbz#1169991
---
share/config_files/common/spice-vdagentd | 1 +
share/runtime-postinstall.tmpl | 1 +
2 files changed, 2 insertions(+)
create mode 100644 share/config_files/common/spice-vdagentd
diff --git a/share/config_files/common/spice-vdagentd
b/share/config_files/common/spice-vdagentd
new file mode 100644
index 0000000..e70aa69
--- /dev/null
+++ b/share/config_files/common/spice-vdagentd
@@ -0,0 +1 @@
+SPICE_VDAGENTD_EXTRA_ARGS=-X
diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl
index 8ad6273..f0237e1 100644
--- a/share/runtime-postinstall.tmpl
+++ b/share/runtime-postinstall.tmpl
@@ -55,6 +55,7 @@ install ${configdir}/bash_history root/.bash_history
install ${configdir}/profile root/.profile
install ${configdir}/libuser.conf etc
install ${configdir}/sysctl.conf etc/sysctl.d/anaconda.conf
+install ${configdir}/spice-vdagentd etc/sysconfig
mkdir etc/NetworkManager/conf.d
install ${configdir}/90-anaconda-no-auto-default.conf etc/NetworkManager/conf.d
install ${configdir}/91-anaconda-autoconnect-slaves.conf etc/NetworkManager/conf.d
--
To view this commit on github, visit
https://github.com/rhinstaller/lorax/commit/7f112027cd3d86f3c1bbd633a5a12...