kasmtech / workspaces-images

Other
654 stars 229 forks source link

[Custom Image] VMware Remote Console doesn't Work #108

Open ldklikm opened 1 month ago

ldklikm commented 1 month ago

Hello,

I have created a custom image with the VMware Console. The installation worked perfectly. However, when I now try to open the Remote Console in the vCenter, it starts but the following error message appears:

Unable to connect to the MKS: Internal error

In /var/log/vmware/vmware-usbarb-25566.log i found:

2024-07-17T09:36:21.423Z In(05) usbArb DICT --- NON PERSISTENT (null) 2024-07-17T09:36:21.423Z In(05) usbArb DICT --- HOST DEFAULTS /etc/vmware/config 2024-07-17T09:36:21.423Z In(05) usbArb DICT --- SITE DEFAULTS /usr/lib/vmware/config 2024-07-17T09:36:21.423Z In(05) usbArb USBArb: VMware USB Arbitration Service Version 20.9.0 2024-07-17T09:36:21.423Z In(06) usbArb USBArb: Attempting to connect to existing arbitrator on '/var/run/vmware/usbarbitrator-socket'. 2024-07-17T09:36:21.423Z In(05) usbArb USBArbLib: USBArbLib initialized successfully, retryIntervalStart(5), retryIntervalMax(120), arbSocketName(/var/run/vmware/usbarbitrator-socket), useLocking(yes), tryUpgrading(yes). 2024-07-17T09:36:21.423Z In(05) usbArb SOCKET creating new socket, connecting to /var/run/vmware/usbarbitrator-socket 2024-07-17T09:36:21.423Z In(05) usbArb SOCKET connect failed, error 2: No such file or directory 2024-07-17T09:36:21.423Z Wa(03) usbArb USBArbLib: Failed to connect to USB Arbitrator, arbSocketname(/var/run/vmware/usbarbitrator-socket). Error(0x6): Connection error. 2024-07-17T09:36:21.423Z Wa(03) usbArb USBArbLib: Failed to register in usbarblib. 2024-07-17T09:36:21.423Z In(05) usbArb USBArb: No other USB arbitrator instance is currently running. 2024-07-17T09:36:21.423Z Wa(03) usbArb USBArbServiceP: usbArbitrator exits with code(1). 2024-07-17T09:36:21.442Z In(05) usbArb PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values. 2024-07-17T09:36:21.526Z In(05) usbArb DICT --- GLOBAL SETTINGS /usr/lib/vmware/settings 2024-07-17T09:36:21.526Z In(05) usbArb DICT --- NON PERSISTENT (null) 2024-07-17T09:36:21.526Z In(05) usbArb DICT --- HOST DEFAULTS /etc/vmware/config 2024-07-17T09:36:21.526Z In(05) usbArb DICT --- SITE DEFAULTS /usr/lib/vmware/config 2024-07-17T09:36:21.527Z In(05) usbArb USBArb: VMware USB Arbitration Service Version 20.9.0 2024-07-17T09:36:21.527Z Wa(03) usbArb USBGL: Failed to open usb dev path '/dev/bus/usb', error(0x2). 2024-07-17T09:36:21.527Z Wa(03) usbArb USBGL: Failed to open '/proc/bus/usb/devices'. Error(0x2): No such file or directory. 2024-07-17T09:36:21.527Z Wa(03) usbArb USBGL: Failed to probe linux devfs '/proc/bus/usb/devices'. 2024-07-17T09:36:21.527Z Wa(03) usbArb USBArbL: No USB enumerator! 2024-07-17T09:36:21.527Z Wa(03) usbArb USBArbServiceP: Early backend initialization failed. 2024-07-17T09:36:21.527Z Wa(03) usbArb USBArbServiceP: usbArbitrator exits with code(1).

ldklikm commented 1 month ago

Hello. I found in other Logfile /tmp/vmware-kasm-user/vmware-vmrc-957.log following websocket errors:

2024-07-24T06:21:13.733Z In(05) vmrc vmdbLayout::Cnx::ConnectMksClient: Connecting via remote MKS websocket 2024-07-24T06:21:13.733Z In(05) vmrc VMClient_ConnectMksClientWebsocket 2024-07-24T06:21:13.733Z In(05) vmrc VMClient_ConnectMksClientWebsocket - connecting the MKS client (websocket) 2024-07-24T06:21:13.733Z In(05) vmrc VMClientConnectMKSClientWebsocket 2024-07-24T06:21:14.876Z Wa(03) vmrc VMClientRMKSWriteStreamPipe: Couldn't write to fd 47 with error: Broken pipe 2024-07-24T06:21:14.876Z Wa(03) vmrc VMClientRMKSWritePipeNameAndToken failed. Couldn't write the pipe name. 2024-07-24T06:21:14.876Z Wa(03) vmrc VMClientRMKS_ExecWebsocket failed. Couldn't create mkscontrol channel. 2024-07-24T06:21:14.876Z In(05) vmrc Internal VMDB error: VMDB failure (-1) 2024-07-24T06:21:14.877Z In(05) vmrc CUIMKS: cui::MKS::OnSetAttachError (55B07FC71670): -1 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.890Z Wa(03) vmrc MKSControlClientBase: GetScreenCopy: abort because MKSControl is not connected. 2024-07-24T06:21:14.892Z In(05) vmrc XAuth Display Guess: ':1.0' - ':1' 2024-07-24T06:21:14.892Z In(05) vmrc XAuth AuthType Guess: 'MIT-MAGIC-COOKIE-1' 2024-07-24T06:21:14.900Z Wa(03) vmrc MKSControlClientBase: SetPreference: abort because MKSControl is not connected. 2024-07-24T06:21:14.900Z Wa(03) vmrc MKSControlClientBase: SetPreference: abort because MKSControl is not connected. 2024-07-24T06:21:14.900Z Wa(03) vmrc MKSControlClientBase: SetPreference: abort because MKSControl is not connected. 2024-07-24T06:21:14.900Z Wa(03) vmrc MKSControlClientBase: SetPreference: abort because MKSControl is not connected. 2024-07-24T06:21:14.900Z Wa(03) vmrc MKSControlClientBase: SetPreference: abort because MKSControl is not connected. 2024-07-24T06:21:14.900Z Wa(03) vmrc MKSControlClientBase: SetPreference: abort because MKSControl is not connected. 2024-07-24T06:21:14.900Z Wa(03) vmrc MKSControlClientBase: SetPreference: abort because MKSControl is not connected. 2024-07-24T06:21:14.900Z Wa(03) vmrc MKSControlClientBase: SetGamingMouseMode: abort because MKSControl is not connected.