In order to support multiple servers and avoid to have the device having world permissions a daemon/agent is implemented. The daemon listen to a socket for session information and fork an agent which will handle the active session. Frediano Ziglio (5): Install udev rules Add file with utilities for Xorg Starts/stops the agent based on VT status Implement a daemon/agent separation Provide helper to give information to daemon Makefile.am | 12 + configure.ac | 4 + data/90-spice-guest-streaming.rules | 3 +- data/spice-streaming-agent.service.in | 11 + data/spice-streaming-agent.socket | 10 + data/spice-streaming.desktop.in | 3 +- spice-streaming-agent.spec.in | 5 + src/Makefile.am | 9 + src/daemon.cpp | 542 ++++++++++++++++++++++++++++++++++ src/daemon.h | 19 ++ src/spice-streaming-agent.cpp | 113 +++++-- src/spice-streaming-helper | 24 ++ src/xorg-utils.cpp | 33 +++ src/xorg-utils.hpp | 8 + 14 files changed, 773 insertions(+), 23 deletions(-) create mode 100644 data/spice-streaming-agent.service.in create mode 100644 data/spice-streaming-agent.socket create mode 100644 src/daemon.cpp create mode 100644 src/daemon.h create mode 100755 src/spice-streaming-helper create mode 100644 src/xorg-utils.cpp create mode 100644 src/xorg-utils.hpp -- 2.14.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel