API timeout when connecting to a device through vhclientx86_64 -t "USE"

I'm having this issue when try to connect a USB from a host Windows Server Datacenter 2022 to a VM Linux Oracle 9.5 running on it:

[spectrum@localhost ~]$ sudo ./vhclientx86_64 -t LIST

VirtualHere Client IPC, below are the available devices:

(Value in brackets = address, * = Auto-Use)

 (server-ictsi:7575)

SERVER-ICTSI (SERVER-ICTSI:7575)

  *--> StarSign CUT S (SERVER-ICTSI.2)

Auto-Find currently on

Auto-Use All currently on

Reverse Lookup currently on

Reverse SSL Lookup currently on

VirtualHere Client is running as a service

[spectrum@localhost ~]$ sudo ./vhclientx86_64 -t "USE,SERVER-ICTSI.2"

FAILED: API Timeout 3 sec

The point is: the StarSign (USB device) is been seen by Linux VM, but I can't use this device because of this timeout fail.

#2

You need to purchase virtualhere to use the console client.

#3

is geted the purchase virtualhere,but client is always show Failed: Timeout 3 sec when to use ,

#4

Can you run ./vhclientx86_64 -t LIST again (no need for sudo) and put the output here

 

#5

Hello, Michael!

Now I'm not running virtualhere as a service and I can use the USB device. The problem now is that after a few minutes idle, the connection fails and I can´t use the USB anymore. In this situation, a receive this error when I enter sudo ./vhclientx86_64 -t LIST:
Error 6 opening IPC pipe, No such device or address
Is there a way to prevent virtualhere from stopping after a few minutes idle when not running as a service?

#6

Did you purchase a license?

#7

I purchased the licence. How do I make the virtualhere start automatically when the Oracle Linux VM client where it's installed starts?

#8

Create a file  virtualhere-client.service in /etc/systemd/system/.

With the contents

[Unit]
Description=VirtualHere USB Client
After=network.target
[Service]
Type=forking
ExecStart=/path/to/your/vhclientx86_64 -n
[Install]
WantedBy=multi-user.target

After creating the file, enable and start the service:

systemctl daemon-reload
systemctl enable virtualhere.service
systemctl start virtualhere.service