The VirtualHere USB Client can run either as a normal application or as a background service. Running the client as a background service enables devices to be shared while requiring no user to be logged in. This makes it easy to remotely interact with USB devices, and once setup can be a background set-and-forget type system. Users can log in/out and the VirtualHere client will remain running in the background uninterrupted.
When the VirtualHere USB Client is installed as a background service it will automatically start up when the operating system boots, and will automatically connect to any devices you have specified.. The message log can be viewed in the Event Viewer (under Windows), Console Viewer (under OSX), or tail /var/log/syslog (under Linux).
THE VIRTUALHERE USB SERVER MUST BE PURCHASED TO USE THIS FEATURE
To install the Virtualhere USB client as a service in Windows or OSX
- Right click USB Hubs->Install Client as a Sevice(If the service is already installed, this option will be Uninstall Client Service instead)
- The client as a service will be installed.
- Start the client again and it will communicate with the running service in the background.
- You can exit the client and the client service will continue to run as normal in the background
To install the VirtualHere USB client as a daemon in Linux:
Firstly you should use the VirtualHere USB Client Console edition. Then run the client with the -n
option. This will start it in daemon mode
E.g: to run the client in the background under linux use sudo like this:sudo ./vhclientx86_64 -n
To interact/control the daemon no need to use sudo just run e.g ./vhclientx86_64 -t "HELP"
on the command line for available commands
To start the client on boot:
wget https://www.virtualhere.com/sites/default/files/usbclient/scripts/virtualhereclient.service wget https://www.virtualhere.com/sites/default/files/usbclient/vhclientx86_64 chmod +x ./vhclientx86_64 sudo mv ./vhclientx86_64 /usr/sbin sudo mv virtualhereclient.service /etc/systemd/system/virtualhereclient.service systemctl daemon-reload systemctl enable virtualhereclient.service systemctl start virtualhereclient.service
Then you can control it like this e.g
/usr/sbin/vhclientx86_64 -t "LIST"
/usr/sbin/vhclientx86_64 -t "USE,...etc"