I'm using Ubuntu mate 20.04 at the moment. I have 2 users on the system. User A would auto login to the desktop and user B is for remote VNC access, I installed tigervnc server on the system. Both users are administrator in the system at the moment.
Now I have a problem with USB device,when I plug a USB disk to the computer, the local user A won't be able to mount the USB device, instead I have to use VNC viewer to login as user B and mount it with password. Or if I cancel the authentication for mounting the USB device from vnc viewer then USB would be mounted automatically on user A's desktop.
I cannot understand why the system is doing this. This doesn't make any sense, I never had this issue with Linux Mint before as it would always let the current desktop user mount the USB device, the user on vnc server shall not have a higher priority over the USB devices.
Can anyone help me with this please? Is there a way to change the priority on usb devices? I want user A to be the one that can always mount the USB device first. Or is it possible to disallow USB devices to be mounted on the vnc server?
Thank you so much!