Temporary patch that allow the program to work without requiring root permissions. We should use a daemon for this, not open file permission to everybody. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- Makefile.am | 4 ++++ spice-streaming-agent.spec.in | 1 + 2 files changed, 5 insertions(+) diff --git a/Makefile.am b/Makefile.am index 74ec16a..aaf1638 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,8 +15,12 @@ gdmautostart_DATA = $(srcdir)/data/spice-streaming.desktop pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = spice-streaming-agent.pc +udevrulesdir = /usr/lib/udev/rules.d +udevrules_DATA = $(srcdir)/data/90-spice-guest-streaming.rules + EXTRA_DIST = \ spice-streaming-agent.spec \ spice-streaming-agent.pc \ + data/90-spice-guest-streaming.rules \ data/spice-streaming.desktop \ $(NULL) diff --git a/spice-streaming-agent.spec.in b/spice-streaming-agent.spec.in index 99b1f52..57872d1 100644 --- a/spice-streaming-agent.spec.in +++ b/spice-streaming-agent.spec.in @@ -51,6 +51,7 @@ fi %files %doc COPYING ChangeLog README +/lib/udev/rules.d/90-spice-guest-streaming.rules %{_bindir}/spice-streaming-agent %{_sysconfdir}/xdg/autostart/spice-streaming.desktop %{_datadir}/gdm/greeter/autostart/spice-streaming.desktop -- 2.14.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel