Port is grayed out /inactive in Unbuntu -Virtual BOX

Hi GUys,

The story begins when I was trying to compile arduino bootloader on my WINDOWS 10 machine and I kept getting error (Vrr-gcc can’t START) , then I decided to compile on LINUX so I installed a Unbunt-ON a VirtualBOX on my windows 10 machine. It is working great. Then I insatlled Arduino IDE, but the issue is that the Port option under tools is grayd out ?
why, and how can I solve that? see attached image for clarification

In a terminal, with the board plugged in, enter lsusb.

Look for:
ID 2341:nnnn an Arduino board, will show up as /dev/ttyACM?

ID 0403:6001 Future Technology Devices International, will show up as /dev/ttyUSB?

In a terminal, with the board plugged in, enter:
ls -l /dev/ttyUSB* or ls -l /dev/ttyACM*, this will show the group that has access to the port.

Example: crw-rw-r-- 1 root dialout ... /dev/ttyACM0, root is owner, dialout is the group with access.

No luck with lsusb or ls -l. Maybe the usb cable is bad, try another, maybe the board is bad.

Entering the command, groups, in a terminal will show the groups you belong to.

sudo adduser YourUserName GroupToJoin Will fix things if you need to join a group, logout and login after you run adduser.

sudo usermod -a -G GroupToJoin YourUserName will do the same.

modem-manager can also be a problem -- most people just remove the package.

still an issue
after typing LSUSB i get :-

BUS 001 DEVICE 005: ID 2341:8037 Arduino SA

then I type : ls -l /dev/ttyACM* I get:-

nothing before it , so now I don't which group it belongs to and when I try sudo i get an error

"usermod : group '/dev/ttyACM9' doesn't exist.


ls -l -l is a lowercase L NOT a ONE!

dialout is the likely group

sudo adduser YourUserName dialout