getting error with west flash virtualbox ubuntu Linux

I am following the “Examples” section of the zephyr dev guide, https://learn.sparkfun.com/tutorials/re … ephyr-rtos, and all the steps were working up until I entered the following command

west flash

The error message says J-Link connection not established yet but required for command. Connecting to J-Link via USB… FAILED: Failed to open DLL

The Segger device is listed when I enter the command lsusb so I know it is being detected.

Something is probably getting lost in virtualization, it’s advisable to stick to using a Windows PC rather than running windows on top of another OS.