Hi,
I'm trying to do usb redirection with vmware horizon client on linux, but everytime i connect to the desktop usbarbitrator just crashes.
Fedora 23 (x86_64)
VMware Horizon Client 4.0.1 (x86)
I've also tried with 3.2.0, 3.4.0, 3.5.0, 4.0.0.
LOGS:
./vmware-usbarbitrator -f --debug 10
VTHREAD initialize main thread 2 "usbArb" pid 10908
Msg_Reset:
[msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
----------------------------------------
PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
Msg_Reset:
[msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/config": No such file or directory.
----------------------------------------
PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values.
Msg_Reset:
[msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
----------------------------------------
PREF Optional preferences file not found at /root/.vmware/config. Using default values.
PREF Disabling user preferences because disableUserPreferences is set.
PREF Failed to load user preferences.
DICT --- USER PREFERENCES
DICT --- USER DEFAULTS /root/.vmware/config
DICT --- HOST DEFAULTS /etc/vmware/config
DICT view-usbd.log.fileName = "/var/log/vmware-view-usbd.log"
DICT viewusb.IncludeFamily = "storage"
DICT viewusb.ExcludeFamily = "bluetooth;imaging;mouse;keyboard;video;hid;hid-bootable;wireless"
DICT viewusb.AllowHID = "false"
DICT viewusb.AllowHIDBootable = "false"
DICT viewusb.AllowDevDescFailsafe = "true"
DICT --- SITE DEFAULTS /usr/lib/vmware/config
USBArbRuleStore: Loading device rules from '/etc/vmware/usbarb.rules'.
VMware USB Arbitration Service Version 12.2.9
USBGL: USB Sysfs found at /dev/bus/usb
USBArb: Attempting to connect to existing arbitrator on /var/run/vmware/usbarbitrator-socket.
SOCKET creating new socket, connecting to /var/run/vmware/usbarbitrator-socket
SOCKET connect failed, error 111: Connection refused
USBArb: Failed to connect to the existing arbitrator.
USBGL: Can not read 5-2 manufacturer string
USBGL: Can not read 5-2 product string
USBGL: descriptor had product index set, but no matching string found in /sys/bus/usb/devices/5-2
USBGL: Can not read 7-2 manufacturer string
USBGL: Can not read 7-2 product string
USBGL: descriptor had product index set, but no matching string found in /sys/bus/usb/devices/7-2
USBGL: 7-1.1 does not have a serial number
USBGL: descriptor had serial index set, but no matching string found in /sys/bus/usb/devices/7-1.1
Device 0x104f2b012 defaults to target 'ask:' (rule 0x1).
Device 0x2058f6387 defaults to target 'ask:' (rule 0x2).
Device 0x3046d0825 defaults to target 'ask:' (rule 0x3).
Device 0x40b051712 defaults to target 'ask:' (rule 0x4).
Device 0x5045e00f9 defaults to target 'ask:' (rule 0x5).
Device 0x610d555a2 defaults to target 'ask:' (rule 0x6).
USBArb: Device 0:name:Chicony\ USB2.0\ 1.3M\ UVC\ WebCam vid:04f2 pid:b012 path:1/3 speed:high family:other,video serialnum:SN0001 arbRuntimeKey:1 version:2 id:104f2b012 owner:(null)
USBArb: Device 1:name:Alcor\ Micro\ Mass\ Storage\ Device vid:058f pid:6387 path:2/3 speed:high family:storage serialnum:TBXYSIZX arbRuntimeKey:2 version:2 id:2058f6387 owner:(null)
USBArb: Device 2:name:Logitech\ Video\ Device vid:046d pid:0825 path:5/2 speed:full family:other,audio,video serialnum:D1ECE1D0 arbRuntimeKey:3 version:2 id:3046d0825 owner:(null)
USBArb: Device 3:name:ASUSTek\ Bluetooth\ Adapter vid:0b05 pid:1712 path:7/2 speed:full family:other,wireless,bluetooth serialnum:0194E8-5B-0002 arbRuntimeKey:4 version:2 id:40b051712 owner:(null)
USBArb: Device 4:name:Microsoft\ Wireless\ Desktop\ Receiver\ 3.1 vid:045e pid:00f9 path:7/1/1 speed:low family:hid,hid-bootable arbRuntimeKey:5 version:2 id:5045e00f9 owner:(null)
USBArb: Device 5:name:Uni\ Class\ 2Port\ KVMSwicther vid:10d5 pid:55a2 path:7/1/3 speed:low family:hid serialnum:12² arbRuntimeKey:6 version:2 id:610d555a2 owner:(null)
USBArb: 6 Devices enumerated
USBArb: UsbArbPipeConnected: Connected to client, socket:11
USBArb: client:8CFD4F8 op:15 len:4
USBArb: client:8CFD4F8 op:0 len:4
USBArb: uid:0
USBArb: USBArb_SendMsg op:4 len:4
USBArb: USBArb_SendMsg2 op:5 len:148
USBArb: USBArb_SendMsg2 op:5 len:147
USBArb: USBArb_SendMsg2 op:5 len:145
USBArb: USBArb_SendMsg2 op:5 len:162
USBArb: USBArb_SendMsg2 op:5 len:146
USBArb: USBArb_SendMsg2 op:5 len:137
USBArb: Client 11242 connected (version: 6)
USBArb: client:8CFD4F8 op:13 len:13
USBArb: Setting autoconnect for view-usb to 0
USBArb: Updating autoconnect to 0.
USBArb: client:8CFD4F8 op:16 len:12
USBArb: Getting descriptor for device 0x3046d0825 for client 11242, type 1, index 0, languageID 0x0
USBArb: USBArb_SendMsg2 op:17 len:34
USBArb: client:8CFD4F8 op:16 len:12
USBArb: Getting descriptor for device 0x3046d0825 for client 11242, type 2, index 0, languageID 0x0
USBArb: USBArb_SendMsg2 op:17 len:1132
USBArb: client:8CFD4F8 op:16 len:12
USBArb: Getting descriptor for device 0x40b051712 for client 11242, type 1, index 0, languageID 0x0
USBArb: USBArb_SendMsg2 op:17 len:34
USBArb: client:8CFD4F8 op:16 len:12
USBArb: Getting descriptor for device 0x40b051712 for client 11242, type 2, index 0, languageID 0x0
USBArb: USBArb_SendMsg2 op:17 len:209
USBArb: client:8CFD4F8 op:16 len:12
USBArb: Getting descriptor for device 0x104f2b012 for client 11242, type 1, index 0, languageID 0x0
USBArb: USBArb_SendMsg2 op:17 len:34
USBArb: client:8CFD4F8 op:16 len:12
USBArb: Getting descriptor for device 0x104f2b012 for client 11242, type 2, index 0, languageID 0x0
USBArb: USBArb_SendMsg2 op:17 len:581
USBArb: client:8CFD4F8 op:16 len:12
USBArb: Getting descriptor for device 0x2058f6387 for client 11242, type 1, index 0, languageID 0x0
USBArb: USBArb_SendMsg2 op:17 len:34
USBArb: client:8CFD4F8 op:16 len:12
USBArb: Getting descriptor for device 0x2058f6387 for client 11242, type 2, index 0, languageID 0x0
USBArb: USBArb_SendMsg2 op:17 len:48
USBArb: client:8CFD4F8 op:16 len:12
USBArb: Getting descriptor for device 0x5045e00f9 for client 11242, type 1, index 0, languageID 0x0
USBArb: USBArb_SendMsg2 op:17 len:34
USBArb: Retrying pipe write: Resource temporarily unavailable (11)
USBArb: client:8CFD4F8 op:16 len:12
USBArb: Getting descriptor for device 0x5045e00f9 for client 11242, type 2, index 0, languageID 0x0
USBArb: USBArb_SendMsg2 op:17 len:75
USBArb: client:8CFD4F8 op:16 len:12
USBArb: Getting descriptor for device 0x610d555a2 for client 11242, type 1, index 0, languageID 0x0
USBArb: USBArb_SendMsg2 op:17 len:34
USBArb: client:8CFD4F8 op:16 len:12
USBArb: Getting descriptor for device 0x610d555a2 for client 11242, type 2, index 0, languageID 0x0
USBArb: USBArb_SendMsg2 op:17 len:75
Killed
-------------------------
tail -f /var/log/vmware-view-usbd.log
2016-04-29T18:54:17.122+01:00| vmware-usbd| I120: mmfw_Initialise_Server: External thread support
2016-04-29T18:54:17.122+01:00| vmware-usbd| I120:
2016-04-29T18:54:17.122+01:00| vmware-usbd| I120: viewusb_poll_add: called
2016-04-29T18:54:17.122+01:00| vmware-usbd| I120:
2016-04-29T18:54:17.122+01:00| vmware-usbd| I120: ViewUsbService started
2016-04-29T18:54:17.122+01:00| vmware-usbd| I120: SOCKET creating new socket, connecting to /var/run/vmware/usbarbitrator-socket
2016-04-29T18:54:17.122+01:00| vmware-usbd| I120: UpdateDevListCache, deviceCount = 0
2016-04-29T18:54:17.122+01:00| vmware-usbd| I120: Created WindowsThread. Id = 4124044096. Generated Id = 3
2016-04-29T18:54:17.123+01:00| vmware-usbd| I120: MessageFrameWork Worker Added, Name=UsbDeviceManager, Description=USB manager for nodes hosting the physical devices, Channel=0
2016-04-29T18:54:17.126+01:00| vmware-usbd| I120: UpdateDevListCache, deviceCount = 6
2016-04-29T18:54:52.321+01:00| vmware-usbd| I120: SOCKET 1 (12) recv detected client closed connection
2016-04-29T18:54:52.321+01:00| vmware-usbd| I120: UpdateDevListCache, deviceCount = 0
Killed