The question that QGC and Pixhawk can't connect

Hello
I am using a dual system, Ubuntu version 18.04, QGC version 4.1 4.2. I want to try to burn the firmware into Pixhawk6c, but it keeps prompting the following error. I am not using a virtual machine. Do you know what the reason is?
Error as follow↓

【## Found device: Pixhawk
Error: Get Board Info: Sync: Send Command: Get Command Response: Timeout waiting for bytes to be available
Upgrade cancelled

If upgrade failed, make sure to connect directly to a powered USB port on your computer, not through a USB hub. Also make sure you are only powered via USB not battery.】

Have you tried connecting directly with a USB and not through a USB hub?

Yes, I connected it directly via a USB cable.

Have you tried with the latest stable release of QGC? maybe your version is too old

My QGC version is 4.2. Because Ubuntu 18.04 can only adapt to versions 4.0 4.1 4.2, I chose 4.2 which is the highest version.

But I try on Windows system, it can work. The QGC version on my Windows is also 4.2

I also encountered the same issue, but I run on VMware. When using the command ‘make px4_fmu-v6xrt_default upload’ to download firmware, it will get stuck in ‘waiting for bootloader’.