USB mouse and keyboard.

I need to share a common mouse for Raspberry Pi and my Laptop. I made raspi the server and laptop the client.
I could detect the USB mouse on the laptop and also use it. However, once the device is stopped being used on the laptop, I cannot use it on the raspi again untill a reboot of the raspberry Pi.

#2

Stop the virtualhere server on the pi then add the line to the config.ini file

AutoAttachToKernel=1

then save the config.ini file and start the server again