A few suggestions from my experience of getting spice-vdagent working: - In ebuild also check for CONFIG_VIRTIO_CONSOLE in kernel config - Modify /etc/conf.d/spice-vdagent: SPICE_VDAGENT_ARGS="-u /dev/input/uinput" That's where uinput shows with sys-kernel/gentoo-sources-2.6.39-r3 for me, else vdagentd exits as it is has /dev/uinput as default. - Add line continuation characters on same line as "start-stop-daemon" in init script start() and stop() I get e.g.: /etc/init.d/spice-vdagent: line 48: --stop: command not found [ !! ]
I fixed the init.d script problem in 0.8.1-r1. The other stuff is beyond my knowledge. Over to dev-zero.
(In reply to comment #0) > A few suggestions from my experience of getting spice-vdagent working: > > - In ebuild also check for CONFIG_VIRTIO_CONSOLE in kernel config > > - Modify /etc/conf.d/spice-vdagent: > SPICE_VDAGENT_ARGS="-u /dev/input/uinput" > > That's where uinput shows with sys-kernel/gentoo-sources-2.6.39-r3 for me, > else vdagentd exits as it is has /dev/uinput as default. > > - Add line continuation characters on same line as "start-stop-daemon" in > init script start() and stop() > I get e.g.: > /etc/init.d/spice-vdagent: line 48: --stop: command not found [ > !! ] With Linux 3.3.8, its at /dev/uinput but the kernel docs say its at /dev/input/uinput. Most likely its udev that's changing it based on DEVTMPFS being enabled and automounted by the kernel. I'll add some checking and commit updates.
I bumped the version and fixed all these issues. Let me know if the problem persists.