From 96ecdd4e6eafd18fa2af2e374cae59c131301984 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 (#969405) 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. --- 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 94f113cc..225a0259 100644 --- a/share/runtime-postinstall.tmpl +++ b/share/runtime-postinstall.tmpl @@ -50,6 +50,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 %if exists(root+"/etc/selinux/targeted"): install ${configdir}/selinux.config etc/selinux/config %endif