From 41715eb19481e0ac99cefe8820b25b6f1b17954e Mon Sep 17 00:00:00 2001 From: David Shea Date: Mon, 5 Aug 2013 13:11:05 -0400 Subject: [PATCH] Run spice-vdagentd without systemd-logind integration 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 00000000..e70aa699 --- /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 41f02470..4dff2f7d 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