The problem is that you are using VMWare. For some reason, when I used a physical machine with ROS and Ubuntu, it worked! Maybe there is a fix in VMWare. If anybody knows the solution, they are free to explain.
I can recommend an attractive Real Time tool platform that can be directly installed on a PC with a minimum processor performance (Intel, AMD 1750 MHz, Ram 2 - 4 Gb). For example, it can be a tablet or SBC (OS Windows, LTSC).
Platform website and many examples with prototypes